Change mandatory folder locations & remove obsolete masks

This commit is contained in:
2026-05-30 01:29:34 +02:00
parent d13fdacdde
commit af7d0f4c86
5 changed files with 43 additions and 86 deletions

View File

@@ -58,8 +58,8 @@ class PhpObject
}
private function setLogPath($sLogPath) {
if($sLogPath == '') $sLogPath = defined('Settings::LOG_FOLDER')?Settings::LOG_FOLDER:dirname(__FILE__);
$this->sLogPath = $sLogPath.DIRECTORY_SEPARATOR.self::LOG_FILENAME;
if($sLogPath == '') $sLogPath = defined('Settings::LOG_FOLDER')?Settings::LOG_FOLDER:getcwd();
$this->sLogPath = $sLogPath.'/'.self::LOG_FILENAME;
}
private function getLogPath()