Show
Ignore:
Timestamp:
11/15/07 13:17:47 (1 year ago)
Author:
hans
Message:

Refs #188 - Adding work-in-progress (still-broken!) namespace support.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bin/phing.php

    r123 r307  
    2323require_once 'phing/Phing.php'; 
    2424 
     25spl_autoload_register(array('phing::Phing', 'autoload')); 
     26 
    2527/* Setup Phing environment */ 
    26 Phing::startup(); 
     28phing::Phing::startup(); 
    2729 
    2830/*  
     
    3133   which is fine (I think).  Nothing uses phing.home right now. 
    3234*/ 
    33 Phing::setProperty('phing.home', getenv('PHING_HOME')); 
     35phing::Phing::setProperty('phing.home', getenv('PHING_HOME')); 
    3436 
    3537 
     
    3941 
    4042/* fire main application */ 
    41 Phing::fire($args); 
     43phing::Phing::fire($args); 
    4244 
    4345/* 
     
    4547   -- basically we should not need this due to register_shutdown_function in Phing 
    4648 */ 
    47  Phing::halt(0); 
     49phing::Phing::halt(0); 
    4850 
    4951?>