Development

Changeset 6429

You must first sign up to be able to contribute.

Changeset 6429

Show
Ignore:
Timestamp:
12/10/07 17:01:50 (1 year ago)
Author:
pookey
Message:

under certain conditions, wouldn't have been set - causing errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/log/sfFileLogger.class.php

    r6397 r6429  
    5050    } 
    5151 
    52     if (!is_writable($dir) || ($fileExists = file_exists($options['file']) && !is_writable($options['file']))) 
     52    $fileExists = file_exists($options['file']); 
     53    if (!is_writable($dir) || ($fileExists && !is_writable($options['file']))) 
    5354    { 
    5455      throw new sfFileException(sprintf('Unable to open the log file "%s" for writing.', $options['file']));