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 204... Line 204...
204
define("systemMailAcct",$systemMailAcct);
204
define("systemMailAcct",$systemMailAcct);
205
 
205
 
206
#定義供系統寄送信件的email密碼
206
#定義供系統寄送信件的email密碼
207
define("systemMailPass",$systemMailPass);
207
define("systemMailPass",$systemMailPass);
208
 
208
 
-
 
209
#定義環境模式
-
 
210
define("mode",$mode);
209
 
211
 
210
/*
212
/*
211
 
213
 
212
#取得使用者拜訪的頁面
214
#取得使用者拜訪的頁面
213
#涵式說明:
215
#涵式說明:
Line 376... Line 378...
376
#$result["status"],執行是否正常,"true"為正常,"false"為不正常.
378
#$result["status"],執行是否正常,"true"為正常,"false"為不正常.
377
#$result["error"],錯誤訊息陣列.
379
#$result["error"],錯誤訊息陣列.
378
#$result["function"],當前執行的函數名稱.
380
#$result["function"],當前執行的函數名稱.
379
#必填參數:
381
#必填參數:
380
#$conf["mode"],參數設定的模式,"release"代表是指共一般使用所需;"develop"代表是在開發狀態下所需;"custom"代表自訂參數設定內容
382
#$conf["mode"],參數設定的模式,"release"代表是指共一般使用所需;"develop"代表是在開發狀態下所需;"custom"代表自訂參數設定內容
381
$conf["mode"]="release";
383
$conf["mode"]=mode;
382
#可省略參數:
384
#可省略參數:
383
#$conf["customSettings"],要自訂的參數與其數值,例如array("display_errors=On").
385
#$conf["customSettings"],要自訂的參數與其數值,例如array("display_errors=On").
384
$conf["customSettings"]=array();
386
$conf["customSettings"]=array();
385
#參考資料:
387
#參考資料:
386
#ini_set=>http://www.php.net/manual/en/function.ini-set.php
388
#ini_set=>http://www.php.net/manual/en/function.ini-set.php
Line 393... Line 395...
393
 
395
 
394
#如果變更設定失敗
396
#如果變更設定失敗
395
if($changeSettings["status"]==="false"){
397
if($changeSettings["status"]==="false"){
396
 
398
 
397
	#debug
399
	#debug
398
	var_dump($changeSettings);
400
	var_dump($changeSettings);exit;
399
	exit;
-
 
400
 
401
 
401
	}#if end
402
	}#if end
402
 
403
 
403
?>
404
?>
404
405