Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 466 | Rev 621 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

該目錄底下放置可以執行執行的程式

建議重新設置 php include path, 避免以軟連結過來的程式其 include 相關函式出錯.以下為範例:

#以該檔案的實際位置的 lib path 為 include path 首位
#參考資料:
#https://www.php.net/manual/en/function.set-include-path.php
#https://www.php.net/manual/en/function.get-include-path.php
#https://www.php.net/manual/en/function.pathinfo.php
exec("cd ".pathinfo(__FILE__)["dirname"]."/../../;pwd;",$output,$status);
set_include_path($output[0].PATH_SEPARATOR.get_include_path());

#匯入外部套件
include("allInOne.php");