mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-16 21:18:23 -04:00
ALPHA 3.0.2a
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ class Logger extends AbstractLogger
|
||||
|
||||
$this->minLevelIndex = self::$levels[$minLevel];
|
||||
$this->formatter = $formatter ?: array($this, 'format');
|
||||
if (false === $this->handle = is_resource($output) ? $output : @fopen($output, 'a')) {
|
||||
if (false === $this->handle = \is_resource($output) ? $output : @fopen($output, 'a')) {
|
||||
throw new InvalidArgumentException(sprintf('Unable to open "%s".', $output));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user