Changeset 7428
- Timestamp:
- 02/09/08 09:16:26 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/command/sfCommandApplication.class.php
r7318 r7428 474 474 protected function fixCgi() 475 475 { 476 if (false === strpos(PHP_SAPI, 'cgi'))477 {478 return;479 }480 481 476 // handle output buffering 482 477 @ob_end_flush(); … … 489 484 ini_set('magic_quotes_runtime', false); 490 485 486 if (false === strpos(PHP_SAPI, 'cgi')) 487 { 488 return; 489 } 490 491 491 // define stream constants 492 492 define('STDIN', fopen('php://stdin', 'r'));