mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 19:42:41 +00:00
$result instead of $r
This commit is contained in:
parent
5b5180f661
commit
a8f9cf787b
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ class FileLog extends BaseLog {
|
|||
}
|
||||
|
||||
$exists = file_exists($pathname);
|
||||
$r = file_put_contents($pathname, $output, FILE_APPEND);
|
||||
$result = file_put_contents($pathname, $output, FILE_APPEND);
|
||||
static $selfError = false;
|
||||
if (!$selfError && !$exists && !chmod($pathname, (int)$this->_config['mask'])) {
|
||||
$selfError = true;
|
||||
|
@ -150,7 +150,7 @@ class FileLog extends BaseLog {
|
|||
array($pathname, $this->_config['mask'])), E_USER_WARNING);
|
||||
$selfError = false;
|
||||
}
|
||||
return $r;
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue