summaryrefslogtreecommitdiff
path: root/framework/Util
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Util')
-rw-r--r--framework/Util/TLogRouter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php
index da2b06f6..ffbeb175 100644
--- a/framework/Util/TLogRouter.php
+++ b/framework/Util/TLogRouter.php
@@ -418,7 +418,7 @@ class TFileLogRoute extends TLogRoute
*/
protected function processLogs($logs)
{
- $logFile=$this->getLogPath().'/'.$this->getLogFile();
+ $logFile=$this->getLogPath().DIRECTORY_SEPARATOR.$this->getLogFile();
if(@filesize($logFile)>$this->_maxFileSize*1024)
$this->rotateFiles();
foreach($logs as $log)
@@ -430,7 +430,7 @@ class TFileLogRoute extends TLogRoute
*/
protected function rotateFiles()
{
- $file=$this->getLogPath().'/'.$this->getLogFile();
+ $file=$this->getLogPath().DIRECTORY_SEPARATOR.$this->getLogFile();
for($i=$this->_maxLogFiles;$i>0;--$i)
{
$rotateFile=$file.'.'.$i;