]> 4ch.mooo.com Git - test.git/commitdiff
modified: config.php
authorsparky4 <sparky4@4ch.irc.su>
Tue, 22 Mar 2011 00:31:05 +0000 (19:31 -0500)
committersparky4 <sparky4@4ch.irc.su>
Tue, 22 Mar 2011 00:31:05 +0000 (19:31 -0500)
modified:   yotsubanome.php

config.php
yotsubanome.php

index 90ddeb8f456a6a2fa8e20b7c84ba47b3ca0767bb..4b89e8f93ed8d0c957a62997ecfe6cd9dfb15bab 100755 (executable)
@@ -19,7 +19,7 @@ http://pixmicat.openfoundry.org/
 */
 
 $config = array();
-include_once('lib/lib_language.php'); // language system for youbi
+//++++include_once('lib/lib_language.php'); // language system for youbi
 
 /*
 yotsubanome development status
@@ -102,7 +102,7 @@ if(is_file('../../conk/.pass.php')) include('../../conk/.pass.php'); // The pass
 if(!defined("PHP_SELF")) define("PHP_SELF", 'yotsubanome.php'); // このスクリプト名 // 主程式名 (若是修改了主程式名,請配合修改)
 //----define("TIME_ZONE", '-6'); // 時區設定 (GMT時區,參照 http://wwp.greenwichmeantime.com/ )
 $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['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
index bf441ff3c23a2d056ecb684a60397a60e4c1fda0..09d5e61d9631a12842bfbcad92991c085fb23c88 100755 (executable)
@@ -718,9 +718,9 @@ function regist(){
        // 密碼和時間的樣式 
        if($pwd=='') if(ALLOW_NOPASS) error(_T('regist_withoutpassword'), $dest); else $pwd = ($pwdc=='') ? substr(rand(),0,8) : $pwdc;
        $pass = $pwd ? substr(md5($pwd), 2, 8) : '*'; // 生成真正儲存判斷用的密碼
-//---- $youbi = array(_T('sun'),_T('mon'),_T('tue'),_T('wed'),_T('thu'),_T('fri'),_T('sat'));
+       $youbi = array(_T('sun'),_T('mon'),_T('tue'),_T('wed'),_T('thu'),_T('fri'),_T('sat'));
 //---- $yd = $youbi[gmdate('w', $time+TIME_ZONE*60*60)];
-       $yd = $config['YOUBI'][date('w', $tome)];
+       $yd = $youbi[date('w', $tome)];
 //---- $now = gmdate('y/m/d', $time+TIME_ZONE*60*60).'('.(string)$yd.')'.gmdate('H:i', $time+TIME_ZONE*60*60);
        $now = date($config['DATE_FORMAT'], $tome).'('.(string)$yd.')'.date($config['TIME_FORMAT'], $tome);