Change log file folder

This commit is contained in:
2023-08-06 13:24:00 +02:00
parent dd4469c349
commit e1cf78b992
6 changed files with 16 additions and 9 deletions

View File

@@ -48,9 +48,9 @@ abstract class Main extends PhpObject
/**
* Main constructor
*/
public function __construct($sProcessPage, $bDb=true, $sFile=__FILE__, $sTimeZone='')
public function __construct($sProcessPage, $bDb=true, $sTimeZone='', $sLogPath='')
{
parent::__construct($sFile, Settings::DEBUG);
parent::__construct(get_class($this), Settings::DEBUG, PhpObject::MODE_FILE, $sLogPath);
$this->setContext($sProcessPage, $sTimeZone);