root

Changeset 526

Show
Ignore:
Timestamp:
03/07/09 22:36:22 (1 year ago)
Author:
wbond
Message:

Fixed ticket #149, fCore no longer throws a notice during the error/exception destination check when a log file is specified

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fCore.php

    r514 r526 Hide Line Numbers
    1010 * @link       http://flourishlib.com/fCore 
    1111 *  
    12  * @version    1.0.0b4 
     12 * @version    1.0.0b5 
     13 * @changes    1.0.0b5  Fixed a bug with checking the error/exception destination when a log file is specified [wb, 2009-03-07] 
    1314 * @changes    1.0.0b4  Backwards compatibility break - ::getOS() and ::getPHPVersion() removed, replaced with ::checkOS() and ::checkVersion() [wb, 2009-02-16] 
    1415 * @changes    1.0.0b3  ::handleError() now displays what kind of error occured as the heading [wb, 2009-02-15] 
     
    268269        $path_info     = pathinfo($destination); 
    269270        $dir_exists    = file_exists($path_info['dirname']); 
    270         $dir_writable  = ($dir_exists) ? is_writable($path_info['dirnam']) : FALSE; 
     271        $dir_writable  = ($dir_exists) ? is_writable($path_info['dirname']) : FALSE; 
    271272        $file_exists   = file_exists($destination); 
    272273        $file_writable = ($file_exists) ? is_writable($destination) : FALSE;