Application cleanup

This commit is contained in:
Deon George
2013-05-10 20:48:10 +10:00
parent 077c1923f3
commit 067af280af
36 changed files with 284 additions and 544 deletions

View File

@@ -51,22 +51,6 @@ abstract class Kohana extends Kohana_Core {
return $x;
}
/**
* @compat Restore KH 3.1 functionality
* @var boolean True if Kohana is running from the command line
*/
public static $is_cli = FALSE;
/**
* @compat Restore KH 3.1 functionality
*/
public static function init(array $settings = NULL) {
parent::init($settings);
// Determine if we are running in a command line environment
Kohana::$is_cli = (PHP_SAPI === 'cli');
}
/**
* Override Kohana's shutdown_handler()
*