]> 4ch.mooo.com Git - test.git/blobdiff - config.php
modified: data/tplt/inc_yo-festival.tplt
[test.git] / config.php
index 9a32d840a171c85546f8fdbe8d424ac6811b4221..1e6acbd8f8c15544184ffcbb610ba6647546b5e1 100755 (executable)
@@ -47,6 +47,9 @@ TODO:
 
 ChangeLog:
 ----------------------
+2011/3/6
+-[system wide] hide_btn is a bitch (the back ground is variablish now)
+
 2011/3/4
 -[config.php] multiBBS conversion has started with $config['KB']
 
@@ -141,14 +144,14 @@ define("TRIP_KEY", '◆');
 define("TRIP_KEY_FAKE", '◇');
 
 // 管理員キャップ(Cap)設定 (啟用條件:開啟使用;名稱輸入識別名稱,E-mail輸入#啟動密碼)
-define("CAP_ENABLE", 1); // 是否使用管理員キャップ (使用:1 不使用:0)
-define("CAP_NAME", 'futaba'); // 管理員キャップ識別名稱
-define("CAP_PASS", 'futaba'); // 管理員キャップ啟動密碼 (在E-mail一欄輸入#啟動密碼)
-define("CAP_SUFFIX", ' ■'); // 管理員キャップ後綴字元 (請務必有★以便程式防止偽造,或可自行修改程式的防偽造部份)
-define("CAP_SUFFIX_FAKE", ' []');
-define("CAP_ISHTML", 1); // 管理員キャップ啟動後內文是否接受HTML標籤 (是:1 否:0)
-
-// ^^????^^
+$config['CAP.ENABLE'] = true; // 是否使用管理員キャップ (使用:true 不使用:false)
+if(!$config['CAP.NAME'] && !$config['CAP.PASSWORD']){
+       $config['CAP.NAME'] = 'futaba'; // 管理員キャップ識別名稱
+       $config['CAP.PASSWORD'] = 'futaba'; // 管理員キャップ啟動密碼 (在E-mail一欄輸入#啟動密碼)
+}
+$config['CAP.SUFFIX'] = ' ◆'; // 管理員キャップ後綴字元 (請務必有★以便程式防止偽造,或可自行修改程式的防偽造部份)
+$config['CAP.SUFFIX.FAKE'] = ' ◇'; // false capcode suffix
+$config['CAP.ISHTML'] = true; // 管理員キャップ啟動後內文是否接受HTML標籤 (是:true 否:false)
 
 // 功能切換
 define("USE_THUMB", 1); // サムネイルを作る  する:1 しない:0 // 使用預覽圖機能 (使用:1 不使用:0)
@@ -194,7 +197,7 @@ $ModuleList[] = 'mod_catalog';//<-sparky4 needs here .... HELP
 //$ModuleList[] = 'mod_code';//<- missing JS and CSS files
 $ModuleList[] = 'mod_code_prettify';//<-sparky4 is here missing CSS file
 
-$ModuleList[] = 'mod_dummy'; //<- null module?
+//$ModuleList[] = 'mod_dummy'; //<- null module?
 //$ModuleList[] = 'mod_edit';//<-important
 //$ModuleList[] = 'mod_eggpoll';
 //$ModuleList[] = 'mod_exif';