Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/Console/ConsoleApplication.php
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
{ | { | ||||
$this->Application =& \kApplication::Instance(); | $this->Application =& \kApplication::Instance(); | ||||
$this->Conn =& $this->Application->GetADODBConnection(); | $this->Conn =& $this->Application->GetADODBConnection(); | ||||
parent::__construct( | parent::__construct( | ||||
'In-Portal CLI', | 'In-Portal CLI', | ||||
$this->Application->ModuleInfo['Core']['Version'] . ' (PHP v' . phpversion() . ')' | $this->Application->ModuleInfo['Core']['Version'] . ' (PHP v' . phpversion() . ')' | ||||
); | ); | ||||
$this->setAutoExit(false); | |||||
} | } | ||||
/** | /** | ||||
* Returns Kernel Application instance. | * Returns Kernel Application instance. | ||||
* | * | ||||
* @return \kApplication | * @return \kApplication | ||||
*/ | */ | ||||
public function getKernelApplication() | public function getKernelApplication() | ||||
Show All 27 Lines |