*/
$config = array();
+//++++include_once('lib/lib_language.php'); // language system for youbi
/*
yotsubanome development status
sparky4 made alot of changes with out following the guide lines
TODO:
1. when pixmicat release 6 comes out, upgrade the code with all fixes.... (this will be a long prossess)
- 2. import functions ported to yotsubanome's standards testing.
- 3. multiboard system.
+ 2. import functions ported to yotsubanome's standards testing. (then export it to a module)
+ 3. multiboard system. DEFINE => $config_(DEFINE)
4. core board execution option.
5. Warning: touch(): Unable to create file ../img.csv_loog0 because Permission denied /var/www/+4/test/lib/pio/pio.logflockp.php #554
6. Orginize the system files better
7. a flexible HTML output (TXT BBS)
+ 8. TXT BBS FUNCTIONALITY AND APPEARANCE
+ 9. TEMPLATE UPDATEING to pixmica release 6?
+
+ 10. flexible time system
+ 11. Kb and b display properly in admin management functions
ChangeLog:
----------------------
+2011/3/21
+-[config.php & yotsubanome.php] time system is more flexible
+
2011/3/6
-[system wide] hide_btn is a bitch (the back ground is variablish now)
// 伺服器常態設定
if(!defined("PHP_SELF")) define("PHP_SELF", 'yotsubanome.php'); // このスクリプト名 // 主程式名 (若是修改了主程式名,請配合修改)
//----define("TIME_ZONE", '-6'); // 時區設定 (GMT時區,參照 http://wwp.greenwichmeantime.com/ )
-define("DATE_FORMAT", "Y/m/d"); // date format
-define("EN_SEC", 1); // 時間表示に「秒」を含める 含める:1 含めない:0
+$config['DATE_FORMAT'] = "Y/m/d"; // date format
+//++++$config['YOUBI'] = array(_T('sun'),_T('mon'),_T('tue'),_T('wed'),_T('thu'),_T('fri'),_T('sat')); // week format
+$config['TIME_FORMAT'] = 'H:i:s'; // time format
+//----define("EN_SEC", 1); // 時間表示に「秒」を含める 含める:1 含めない:0
if(!defined("PIXMICAT_LANGUAGE")) define("PIXMICAT_LANGUAGE", 'en_US'); // 語系語定 // ja_JP en_US zh_TW
define("HTTP_UPLOAD_DIFF", 50); // HTTP上傳所有位元組與實際位元組之允許誤差值
-ini_set("memory_limit", '24M'); // PHP運行的最大記憶體使用量 (php內定8M / 建議32M)
+ini_set("memory_limit", '8M'); // PHP運行的最大記憶體使用量 (php內定8M / 建議32M)
// FileIO設定
define("FILEIO_BACKEND", 'normal'); // FileIO後端指定
// 功能切換
define("USE_THUMB", 1); // サムネイルを作る する:1 しない:0 // 使用預覽圖機能 (使用:1 不使用:0)
define("STYLEBAR", 1); // location of style bar [CSS decoration style for the pages] (top & bottom:1 bottom:0)
-define("USE_FLOATFORM", 1); // 新增文章表單使用自動隱藏 (是:1 否:0)
-define("USE_SEARCH", 1); // 開放搜尋功能 (是:1 否:0)
+define("USE_FLOATFORM", 0); // 新增文章表單使用自動隱藏 (是:1 否:0)
+define("USE_SEARCH", 0); // 開放搜尋功能 (是:1 否:0)
define("OPTION", 0); // allow options to show up (yes:1 no:0)
define("USE_UPSERIES", 1); // 是否啟用連貼機能 [開主題後自動指向到主題下以方便連貼] (是:1 否:0)
define("RESIMG", 1); // レスにも画像を添付できるようにする 添付可能:1 添付不可:0 // 回應附加圖檔機能 (開啟:1 關閉:0)
define("MAX_KB", 9000); // 投稿容量制限 KB(phpの設定により2Mまで // 投稿容量制限 KB(phpの設定により2Mまで // 附加圖檔上傳容量限制KB (php內定為最高2MB)
define("STORAGE_LIMIT", 0); // 附加圖檔總容量限制功能 (啟動:1 關閉:0)
define("STORAGE_MAX", 30000); // 附加圖檔總容量限制上限大小 (單位:KB)
-define("ALLOW_UPLOAD_EXT", 'GIF|JPG|PNG|BMP|SWF|TXT'); // 接受之附加圖檔副檔名 (送出前表單檢查用,用 | 分隔)
+define("ALLOW_UPLOAD_EXT", 'GIF|JPG|PNG|BMP|SWF|TXT|SVG'); // 接受之附加圖檔副檔名 (送出前表單檢查用,用 | 分隔)
// 連續投稿時間限制
define("RENZOKU", 4); // 連続投稿秒数 // 連續投稿間隔秒數