]> 4ch.mooo.com Git - test.git/commitdiff
modified: config.php
authorsparky4 <sparky4@4ch.irc.su>
Thu, 24 Feb 2011 11:51:41 +0000 (05:51 -0600)
committersparky4 <sparky4@4ch.irc.su>
Thu, 24 Feb 2011 11:51:41 +0000 (05:51 -0600)
renamed:    env.php -> lib/lib_env.php
modified:   yotsubanome.php

config.php
lib/lib_env.php [moved from env.php with 100% similarity]
yotsubanome.php

index 3c11acd04e1832cb164f1bea2f0acea1c27de0f6..e32d1e4800a29d4ee09582e5741fbf429a8e4b3d 100755 (executable)
@@ -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
similarity index 100%
rename from env.php
rename to lib/lib_env.php
index d4d4b5dfe583a46339e1304696e3450eacda2892..ed6d6ad97e96f233f6f131d2a8626e3464875213 100755 (executable)
@@ -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, '&amp;'.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