Changeset 10952
- Timestamp:
- 08/19/08 17:04:33 (11 months ago)
- Files:
-
- branches/1.1/lib/log/sfConsoleLogger.class.php (modified) (1 diff)
- branches/1.2/lib/log/sfConsoleLogger.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/log/sfConsoleLogger.class.php
r7452 r10952 24 24 public function initialize(sfEventDispatcher $dispatcher, $options = array()) 25 25 { 26 $options['stream'] = STDOUT;26 $options['stream'] = defined('STDOUT') ? STDOUT : fopen('php://stdout', 'w'); 27 27 28 28 return parent::initialize($dispatcher, $options); branches/1.2/lib/log/sfConsoleLogger.class.php
r7452 r10952 24 24 public function initialize(sfEventDispatcher $dispatcher, $options = array()) 25 25 { 26 $options['stream'] = STDOUT;26 $options['stream'] = defined('STDOUT') ? STDOUT : fopen('php://stdout', 'w'); 27 27 28 28 return parent::initialize($dispatcher, $options);

