13 lines
338 B
PHP
13 lines
338 B
PHP
<?php
|
|
/**
|
|
* For the full copyright and license information, please view the
|
|
* docs/licenses/LICENSE.txt file that was distributed with this source code.
|
|
*/
|
|
|
|
if (isset(Context::getContext()->controller)) {
|
|
$controller = Context::getContext()->controller;
|
|
} else {
|
|
$controller = new FrontController();
|
|
$controller->init();
|
|
}
|