Subversion Repositories php-qbpwcf

Rev

Rev 30 | Rev 53 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30 Rev 47
Line 296... Line 296...
296
define("systemMailAcct",$systemMailAcct);
296
define("systemMailAcct",$systemMailAcct);
297
 
297
 
298
#定義供系統寄送信件的email密碼
298
#定義供系統寄送信件的email密碼
299
define("systemMailPass",$systemMailPass);
299
define("systemMailPass",$systemMailPass);
300
 
300
 
-
 
301
#定義環境模式
-
 
302
define("mode",$mode);
-
 
303
 
301
/*
304
/*
302
 
305
 
303
#取得使用者拜訪的頁面
306
#取得使用者拜訪的頁面
304
#涵式說明:
307
#涵式說明:
305
#取得用戶端的資訊
308
#取得用戶端的資訊
Line 473... Line 476...
473
#$result["status"],執行是否正常,"true"為正常,"false"為不正常.
476
#$result["status"],執行是否正常,"true"為正常,"false"為不正常.
474
#$result["error"],錯誤訊息陣列.
477
#$result["error"],錯誤訊息陣列.
475
#$result["function"],當前執行的函數名稱.
478
#$result["function"],當前執行的函數名稱.
476
#必填參數:
479
#必填參數:
477
#$conf["mode"],參數設定的模式,"release"代表是指共一般使用所需;"develop"代表是在開發狀態下所需;"custom"代表自訂參數設定內容
480
#$conf["mode"],參數設定的模式,"release"代表是指共一般使用所需;"develop"代表是在開發狀態下所需;"custom"代表自訂參數設定內容
478
$conf["mode"]="release";
481
$conf["mode"]=mode;
479
#可省略參數:
482
#可省略參數:
480
#$conf["customSettings"],要自訂的參數與其數值,例如array("display_errors=On").
483
#$conf["customSettings"],要自訂的參數與其數值,例如array("display_errors=On").
481
$conf["customSettings"]=array();
484
$conf["customSettings"]=array();
482
#參考資料:
485
#參考資料:
483
#ini_set=>http://www.php.net/manual/en/function.ini-set.php
486
#ini_set=>http://www.php.net/manual/en/function.ini-set.php
Line 490... Line 493...
490
 
493
 
491
#如果變更設定失敗
494
#如果變更設定失敗
492
if($changeSettings["status"]==="false"){
495
if($changeSettings["status"]==="false"){
493
 
496
 
494
	#debug
497
	#debug
495
	var_dump($changeSettings);
498
	var_dump($changeSettings);exit(1);
496
	exit;
-
 
497
 
499
 
498
	}#if end
500
	}#if end
499
 
501
 
500
?>
502
?>
501
503