Subversion Repositories qbpwcf-lib(archive)

Rev

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

Rev 658 Rev 753
Line 23... Line 23...
23
*/
23
*/
24
 
24
 
25
#使用 qbpwcf 命名空間
25
#使用 qbpwcf 命名空間
26
namespace qbpwcf;
26
namespace qbpwcf;
27
 
27
 
-
 
28
#以該檔案的實際位置的 lib path 為 include path 首位
-
 
29
exec("cd ".pathinfo(__FILE__)["dirname"]."/qbpwcf;pwd;",$output,$status);
-
 
30
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
-
 
31
 
28
#匯入套件
32
#匯入套件
29
require_once("qbpwcf/allInOne.php");
33
require_once("allInOne.php");
30
 
34
 
31
#建議的log位置
35
#建議的log位置
32
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
36
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
33
 
37
 
34
#函式說明:
38
#函式說明:
Line 43... Line 47...
43
#$result["fullContent"],為檔案的完整內容.
47
#$result["fullContent"],為檔案的完整內容.
44
#$result["base64data"],為檔案的base64內容.
48
#$result["base64data"],為檔案的base64內容.
45
#$result["mimeType"],為檔案的mime type.
49
#$result["mimeType"],為檔案的mime type.
46
#必填參數:
50
#必填參數:
47
#$conf["filePositionAndName"],字串,爲檔案的位置以及名稱.
51
#$conf["filePositionAndName"],字串,爲檔案的位置以及名稱.
48
$conf["filePositionAndName"]="README";
52
$conf["filePositionAndName"]="Release Note";
49
#$conf["fileArgu"],字串,php變數__FILE__的內容,亦即該檔案在檔案系統的絕對路徑
53
#$conf["fileArgu"],字串,php變數__FILE__的內容,亦即該檔案在檔案系統的絕對路徑
50
$conf["fileArgu"]=__FILE__;
54
$conf["fileArgu"]=__FILE__;
51
#可省略參數:
55
#可省略參數:
52
#$conf["web"],是要取得網路上的檔案則為"true";反之預設為"false".
56
#$conf["web"],是要取得網路上的檔案則為"true";反之預設為"false".
53
#$conf["web"]="true";
57
#$conf["web"]="true";