From 3d19c5a7b3a368ed616f472de589e633fceecab8 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 4 Mar 2011 02:43:34 -0600 Subject: [PATCH] modified: yotsubanome.php --- yotsubanome.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yotsubanome.php b/yotsubanome.php index 635d38e..d7c4d93 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -458,7 +458,7 @@ function arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno=0, $ /* 寫入記錄檔 */ /* 記事書き込み */ function regist(){ - global $PIO, $FileIO, $PMS, $language, $BAD_STRING, $BAD_FILEMD5, $BAD_IPADDR, $LIMIT_SENSOR; + global $config, $PIO, $FileIO, $PMS, $language, $BAD_STRING, $BAD_FILEMD5, $BAD_IPADDR, $LIMIT_SENSOR; $dest = ''; $mes = ''; $up_incomplete = 0; $is_admin = false; $path = realpath('.').DIRECTORY_SEPARATOR; // 此目錄的絕對位置 @@ -1276,7 +1276,7 @@ function manage_css(){ /* 計算目前附加圖檔使用容量 (單位:KB) */ function total_size($isupdate=false){ - global $PIO, $FileIO; + global $config, $PIO, $FileIO; $size = 0; $all = 0; $cache_file = "./".SIZE_CACHE; // 附加圖檔使用容量值快取檔案 @@ -1456,7 +1456,7 @@ function deleteCache($no){ /* 顯示系統各項資訊 */ function showstatus(){ - global $PTE, $PIO, $FileIO, $PMS, $language, $LIMIT_SENSOR; + global $config, $PTE, $PIO, $FileIO, $PMS, $language, $LIMIT_SENSOR; $countline = $PIO->postCount(); // 計算投稿文字記錄檔目前資料筆數 $counttree = $PIO->threadCount(); // 計算樹狀結構記錄檔目前資料筆數 $tmp_total_size = total_size(); // 附加圖檔使用量總大小 -- 2.39.5