Class: | Phact\Application\Application |
File: | /home/u3164/komenergo.kirov.ru/app/vendor/phact-cmf/phact/src/Phact/Application/Application.php |
187 |
|
188 |
public function handleRequest() |
189 |
{ |
190 |
if ($this->getIsWebMode()) { |
191 |
$this->handleWebRequest(); |
192 |
} else { |
193 |
$this->handleCliRequest(); |
194 |
} |
195 |
} |
196 |
|
Class: | Phact\Application\Application |
File: | /home/u3164/komenergo.kirov.ru/app/vendor/phact-cmf/phact/src/Phact/Application/Application.php |
174 |
public function run() |
175 |
{ |
176 |
$this->_provideModuleEvent('onApplicationRun'); |
177 |
register_shutdown_function([$this, 'end'], 0); |
178 |
$this->handleRequest(); |
179 |
$this->end(); |
180 |
} |
181 |
|
182 |
public function end($status = 0, $response = null) |
183 |
{ |
Class: | Phact\Application\Application |
File: | /home/u3164/komenergo.kirov.ru/WWW/index.php |
27 |
|
28 |
|
29 |
$config = include $configPath; |
30 |
\Phact\Main\Phact::init($config); |
31 |
\Phact\Main\Phact::app()->run(); |