]> 4ch.mooo.com Git - test.git/blobdiff - yotsubanome.php
modified: config.php
[test.git] / yotsubanome.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, '&'.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