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[...]