framework/console/CConsoleApplication.php
protected function init()
	{
		parent::init();
		if(empty($_SERVER['argv']))
			die('This script must be run from the command line.');
		$this->_runner=$this->createCommandRunner();
		$this->_runner->commands=$this->commandMap;
		$this->_runner->addCommands($this->getCommandPath());
	}
protected function init()
	{
		parent::init();
		if(empty($_SERVER['argv']))
			die('This script must be run from the command line.');
		$this->_runner=$this->createCommandRunner();
		$this->_runner->commands=$this->commandMap;
		$this->_runner->addCommands($this->getCommandPath());
	}
protected function init ( ) { parent :: init ( ) ; if ( empty ( $ _SERVER [ 'argv' ] ) ) die ( 'This script must be run from the command line.' ) ; $ this -> _runner = $ this -> createCommandRunner ( ) ; $ this -> _runner -> commands = $ this -> commandMap ; $ this -> _runner -> addCommands ( $ this -> getCommandPath ( ) ) ; }
Initializes the application by creating the command runner.
Initializes the application by creating the command runner .