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:
mark_story 2009-11-21 15:21:19 -05:00
parent b1c89496c5
commit d1066bfeaf

View file

@ -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
*