Changeset 2430
- Timestamp:
- 10/18/06 10:22:28 (2 years ago)
- Files:
-
- tools/pake/trunk/lib/pake/pakeFunction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/pake/trunk/lib/pake/pakeFunction.php
r2429 r2430 416 416 define('STDERR', fopen('php://stderr', 'w')); 417 417 418 // change directory 419 if (isset($_SERVER['PWD'])) 420 { 421 chdir($_SERVER['PWD']); 422 } 423 418 424 // close the streams on script termination 419 425 register_shutdown_function(create_function('', 'fclose(STDIN); fclose(STDOUT); fclose(STDERR); return true;'));