Revision #2 has been created by Steve Friedl on Dec 10, 2010, 12:32:21 AM with the memo:
Trivial typo fix
« previous (#1)
Changes
Title
unchanged
How to customize error handling in console-mode applications
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
console, error handling
Content
changed
[...]
$protected = dirname(__FILE__) . '/..';
$yii = "$protected/../yii/framework/yii.php"; // EDIT THIS TO TASTE
$config = "$protected/config/console.php";
define(`'YII_DEBUG', false);
require_once( $yii );
require_once( "$protected/components/MyConsoleApplication.php" );
// Yii::createConsoleApplication($config)->run(); // DELETE THIS[...]