Files

13 lines
338 B
PHP
Raw Permalink Normal View History

<?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();
}