Subversion Repositories php-qbpwcf

Rev

Rev 405 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 405 Rev 406
Line 36... Line 36...
36
#$result["error"],錯誤訊息.
36
#$result["error"],錯誤訊息.
37
#$result["function"],當前執行的函式名稱.
37
#$result["function"],當前執行的函式名稱.
38
#$result["content"],複製好的檔案路徑與名稱.
38
#$result["content"],複製好的檔案路徑與名稱.
39
#必填參數:
39
#必填參數:
40
#$conf["file"],字串,檔案的位置與名稱.
40
#$conf["file"],字串,檔案的位置與名稱.
41
$conf["file"]=$assetsDir."/db.qbpwcf.org-ori";
41
$conf["file"]=$assetsDir."/db.qbpwcf.org.ori";
42
#$conf["to"],字串,檔案要複製到哪裡.
42
#$conf["to"],字串,檔案要複製到哪裡.
43
$conf["to"]=$assetsDir."/db.qbpwcf.org";
43
$conf["to"]=$assetsDir."/db.qbpwcf.org";
44
#$conf["fileArgu"],字串,__FILE__的內容,預設為當前檔案的位置.
44
#$conf["fileArgu"],字串,__FILE__的內容,預設為當前檔案的位置.
45
$conf["fileArgu"]=__FILE__;
45
$conf["fileArgu"]=__FILE__;
46
#可省略參數:
46
#可省略參數:
Line 55... Line 55...
55
#如果執行失敗
55
#如果執行失敗
56
if($cp["status"]==="false"){
56
if($cp["status"]==="false"){
57
 
57
 
58
	#debug
58
	#debug
59
	var_dump($cp);
59
	var_dump($cp);
-
 
60
	
-
 
61
	#結束運行,回傳1給 shell.
-
 
62
	exit(1);
60
 
63
 
61
	}#if end
64
	}#if end
62
 
65
 
63
#要新增的一筆RR
66
#要新增的一筆RR
64
$paramsOfAdd=array();
67
$paramsOfAdd=array();