Can't find template spektaklguest/mobile.tpl
if(strpos($name, '.') !== false) $name = str_replace('.', '/', $name);
else if(substr($name, 0, 2) != '__') $name = coreController::$current['module'] . '/' . $name;
if(!file_exists($this -> template_dir . '/' . $name . '.tpl'))
throw new error('Can\'t find template ' . $name . '.tpl');
return $this -> fetch($name . '.tpl');
}
unset($this['session'] -> site_flash);
}
$tpl = empty($ctrl -> render) ? $this -> module . '.' . $this -> action : $ctrl -> render;
$data = $this['tpl'] -> design($tpl);
$cfg = $ctrl -> getMetaData();
$cfg = $ctrl['tpl'] -> buildMeta($ctrl);
$this['tpl'] -> add('SITE_ERROR', error::getErrors());
$this -> module = $settings['module'];
$this -> action = $settings['action'];
$_GET = $settings['param'];
}
$data = $this -> execute();
if($this -> cfg -> pageAutoCache) $this['cache'] -> set($_SERVER['REQUEST_URI'], $data);
$this -> saveStage();
else $autoload = array('module' => 'front', 'action' => 'blocked');
$autoload = false;
require_once 'bootstrap.php';
$kernel = new bootstrap();
$source = $kernel -> run($autoload);
http::sendHeader();
echo $source;