We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<?php define("ROOTPATH", dirname(__FILE__).DIRECTORY_SEPARATOR); // 主程式根目錄 define("STORAGE_PATH", ROOTPATH); // 圖檔、快取儲存目錄 (需具有讀寫權限 777) define("CONNECTION_STRING", 'log://'.STORAGE_PATH.'img.log:'.STORAGE_PATH.'tree.log/'); // PIO 連線字串 (Log) $PIOEnv = array( // PIO 環境常數 'BOARD' => ROOTPATH, ); $this->logfile = $this->ENV['BOARD'].$linkinfos[1]; // 投稿文字記錄檔檔名 $this->treefile = $this->ENV['BOARD'].$linkinfos[2]; // 樹狀結構記錄檔檔名 $this->porderfile = $this->ENV['BOARD'].$this->ENV['LUTCACHE']; // LUT索引查找表暫存檔案
$this->ENV['BOARD'] = ROOTPATH = /wwwroot/ $linkinfos[1] = STORAGE_PATH.'img.log = /wwwroot/img.log $this->logfile = /wwwroot//wwwroot/img.log
The text was updated successfully, but these errors were encountered:
這個問題應該是 8th.Release 多出 STORAGE_PATH 時沒有改好導致的。
迴避方案:
define("CONNECTION_STRING", 'log://img.log:tree.log/');
可暫時迴避,但若程式根目錄無寫入權限會有問題 (ex: RedHat OpenShift)。
預計 8th.Release.4 修正,釋出時程未定,大概是 2 月底。 因目前研發中的主幹 9th.Release 已經拿掉 PIO log 了,因此不會受影響。
Sorry, something went wrong.
[Issue #31] Fixed PIO log path duplicated.
9ad7079
scribetw
No branches or pull requests
$this->ENV['BOARD'] = ROOTPATH = /wwwroot/
$linkinfos[1] = STORAGE_PATH.'img.log = /wwwroot/img.log
$this->logfile = /wwwroot//wwwroot/img.log
The text was updated successfully, but these errors were encountered: