Difference between #1 and #2 of
How to customize error handling in console-mode applications

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
[...]
3 0
4 followers
Viewed: 21 159 times
Version: 1.1
Category: How-tos
Written by: Steve Friedl
Last updated by: Steve Friedl
Created on: Dec 10, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history