Просмотр исходного кода

edited default log file if logger is not setup

CauseFX 4 лет назад
Родитель
Сommit
b293146975
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/functions/log-functions.php

+ 1 - 1
api/functions/log-functions.php

@@ -276,7 +276,7 @@ trait LogFunctions
 	public function tempLogIfNeeded()
 	{
 		if (!$this->log) {
-			return $this->randString() . '.log';
+			return $this->root . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'organizr-' . $this->randString() . '.log';
 		} else {
 			return $this->log;
 		}