mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating FileLog to include File if it does not already exist, fixes possible fatal errors if log was written to during the bootstrap process.
This commit is contained in:
parent
b1c89496c5
commit
d1066bfeaf
1 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
/**
|
||||
* File Storage stream for Logging
|
||||
*
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||
|
@ -18,7 +17,9 @@
|
|||
* @since CakePHP(tm) v 1.3
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
if (!class_exists('File')) {
|
||||
require LIBS . 'file.php';
|
||||
}
|
||||
/**
|
||||
* File Storage stream for Logging
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue