Changeset 1792
- Timestamp:
- 08/23/06 23:24:47 (2 years ago)
- Files:
-
- tools/pake/trunk/bin/pake.php (modified) (1 diff)
- tools/pake/trunk/lib/pake/pakeFunction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/pake/trunk/bin/pake.php
r1791 r1792 13 13 include_once('pake/pakeFunction.php'); 14 14 15 // register our default exception handler16 function pake_exception_default_handler($exception)17 {18 $e = new pakeException();19 $e->render($exception);20 }21 set_exception_handler('pake_exception_default_handler');22 23 15 if (basename(__FILE__) == basename($_SERVER['SCRIPT_NAME'])) 24 16 { tools/pake/trunk/lib/pake/pakeFunction.php
r1791 r1792 343 343 } 344 344 } 345 346 // register our default exception handler 347 function pake_exception_default_handler($exception) 348 { 349 $e = new pakeException(); 350 $e->render($exception); 351 } 352 set_exception_handler('pake_exception_default_handler');