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

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
[...]
3 0
4 followers
Viewed: 21 571 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