Changeset 6432
- Timestamp:
- 12/10/07 19:25:51 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/log/sfLogger/sfFileLogger.class.php
r6398 r6432 40 40 } 41 41 42 if (!is_writable($dir) || ($fileExists = file_exists($options['file']) && !is_writable($options['file']))) 42 $fileExists = file_exists($options['file']); 43 if (!is_writable($dir) || ($fileExists && !is_writable($options['file']))) 43 44 { 44 45 throw new sfFileException(sprintf('Unable to open the log file "%s" for writing', $options['file']));