Subversion Repositories php-qbpwcf

Rev

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

Rev 239 Rev 315
Line 49... Line 49...
49
#初始化輸出
49
#初始化輸出
50
$output=array();
50
$output=array();
51
 
51
 
52
#以該檔案的實際位置的 lib path 為 include path 首位
52
#以該檔案的實際位置的 lib path 為 include path 首位
53
exec("cd ".pathinfo(__FILE__)["dirname"]."/../../../../usr/".$folderOfUsrLib."/qbpwcf;pwd;",$output,$status);
53
exec("cd ".pathinfo(__FILE__)["dirname"]."/../../../../usr/".$folderOfUsrLib."/qbpwcf;pwd;",$output,$status);
-
 
54
 
-
 
55
#另存 lib include first path
-
 
56
$phpIncludeFirstPath=$output[0];
-
 
57
 
-
 
58
#設置第一優先的 include path
54
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
59
set_include_path($phpIncludeFirstPath.PATH_SEPARATOR.get_include_path());
55
 
60
 
56
#匯入套件
61
#匯入套件
57
require_once("allInOne.php");
62
require_once("allInOne.php");
58
 
63
 
59
#建議的log位置
64
#建議的log位置