From: sparky4 Date: Thu, 24 Feb 2011 11:51:41 +0000 (-0600) Subject: modified: config.php X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2930bb7d1bb66d68987b63f0d30db016c8c3d07b;p=test.git modified: config.php renamed: env.php -> lib/lib_env.php modified: yotsubanome.php --- diff --git a/config.php b/config.php index 3c11acd..e32d1e4 100755 --- a/config.php +++ b/config.php @@ -40,9 +40,14 @@ TODO: 3. multiboard system. 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 ChangeLog: ---------------------- +2011/22/20 +-[lib_css.php] created () +-[lib_env.php] created + 2011/22/20 -[yotsubanome.php] error system and found bugs rewt5 -[lib_common.php] error system and found bugs rewt5 diff --git a/env.php b/lib/lib_env.php similarity index 100% rename from env.php rename to lib/lib_env.php diff --git a/yotsubanome.php b/yotsubanome.php index d4d4b5d..ed6d6ad 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -57,7 +57,7 @@ PHP 4.4.9 或更高版本並開啟 GD 和 Zlib 支援,如支援 ImageMagick define("PHP_DIRECTORY", '../test/'); // yotsubanome "C:\windows\system\" /* Include */ -include_once(PHP_DIRECTORY.'env.php'); // Enviorment Settings +include_once(PHP_DIRECTORY.'lib/lib_env.php'); // Enviorment Settings include_once(PHP_DIRECTORY.'config.php'); // 引入設定檔 include_once(PHP_DIRECTORY.'lib/lib_language.php'); // 引入語系 include_once(PHP_DIRECTORY.'lib/lib_common.php'); // 引入共通函式檔案 @@ -687,6 +687,7 @@ function regist(){ $name = str_replace('&'.TRIP_KEY, '&'.TRIP_KEY, $name); // 避免 &#xxxx; 後面被視為 Trip 留下 & 造成解析錯誤 } // End of Tripcode area-------------------------------------------------------------------------- + // 內文修整 if((strlen($com) > COMM_MAX) && !$is_admin) error(_T('regist_commenttoolong'), $dest); $com = CleanStr($com, $is_admin); // 引入$is_admin參數是因為當管理員キャップ啟動時,允許管理員依config設定是否使用HTML