Changeset 307 for trunk/bin/phing.php
- Timestamp:
- 11/15/07 13:17:47 (1 year ago)
- Files:
-
- trunk/bin/phing.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bin/phing.php
r123 r307 23 23 require_once 'phing/Phing.php'; 24 24 25 spl_autoload_register(array('phing::Phing', 'autoload')); 26 25 27 /* Setup Phing environment */ 26 Phing::startup();28 phing::Phing::startup(); 27 29 28 30 /* … … 31 33 which is fine (I think). Nothing uses phing.home right now. 32 34 */ 33 Phing::setProperty('phing.home', getenv('PHING_HOME'));35 phing::Phing::setProperty('phing.home', getenv('PHING_HOME')); 34 36 35 37 … … 39 41 40 42 /* fire main application */ 41 Phing::fire($args);43 phing::Phing::fire($args); 42 44 43 45 /* … … 45 47 -- basically we should not need this due to register_shutdown_function in Phing 46 48 */ 47 Phing::halt(0);49 phing::Phing::halt(0); 48 50 49 51 ?>
