filemtime(): stat failed for /mnt/devel/Atrium/atriumstudio/www_root/../app/Templates/Page.html
/mnt/devel/Atrium/atriumstudio/vendor/Onion/Templating/View.php
http://www.atriumarchitekti.loc/sk/uvod (GET)
Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
141 $operation = $tmp[1];142 }143144 $s['selector'] = $selector;145 $s['operation'] = $operation;146 $s['content'] = trim($snippets[2][$key]);147148 $ajaxTemplate[] = $s;149 }150151 return $ajaxTemplate;152 }153154 public function compile($template = null)155 {156 if ($template === null) {157 $templateName = str_replace($this->templatesDir, '', $this->templateFile);158 $templateName = str_replace(DIR_SEPARATOR, '_', trim($templateName, DIR_SEPARATOR));159160 $templateTime = filemtime($this->templateFile);161162 $hash = sha1((string) $this->hash.$_SERVER['HTTP_HOST'].$templateName.$templateTime);163164 $template = $this->services->cache->fetch($hash, 'template');165166 if ($template !== false) {167 return $template;168 }169170 $template = file_get_contents($this->templateFile);
141 $operation = $tmp[1];142 }143144 $s['selector'] = $selector;145 $s['operation'] = $operation;146 $s['content'] = trim($snippets[2][$key]);147148 $ajaxTemplate[] = $s;149 }150151 return $ajaxTemplate;152 }153154 public function compile($template = null)155 {156 if ($template === null) {157 $templateName = str_replace($this->templatesDir, '', $this->templateFile);158 $templateName = str_replace(DIR_SEPARATOR, '_', trim($templateName, DIR_SEPARATOR));159160 $templateTime = filemtime($this->templateFile);161162 $hash = sha1((string) $this->hash.$_SERVER['HTTP_HOST'].$templateName.$templateTime);163164 $template = $this->services->cache->fetch($hash, 'template');165166 if ($template !== false) {167 return $template;168 }169170 $template = file_get_contents($this->templateFile);
array ( 0 => '/mnt/devel/Atrium/atriumstudio/www_root/../app/Templates/Page.html', )
72 return $this;73 }7475 public function setData($data, $merge = true)76 {77 if ($merge === false) {78 $this->data = array();79 }8081 foreach ($data as $variable => $value) {82 $this->__set($variable, $value);83 }84 }8586 public function render($ajax = false, $template = null)87 {88 if ($template === null) {89 $this['__TEMPLATE__'] = pathinfo($this->templateFile, PATHINFO_BASENAME);90 }91 $template = $this->compile($template);9293 foreach ($this->data as $var => $val) {94 $this->$var = $val;95 }9697 if (DEBUG === true) {98 $tempFile = TEMP_DIR.'/'.uniqid();99 file_put_contents($tempFile, $template);100101 ob_start();
array ( 0 => 'NULL', )
162 $parameters = $this->currentRoute->getResource();163164 $this->runHooks('system.hooks.afterCreateController');165166 call_user_func_array(array($this->controller, 'before'), $parameters);167168 $this->runHooks('system.hooks.beforeControllerRun');169170 call_user_func_array(array($this->controller, $this->actionName), $parameters);171172 $this->runHooks('system.hooks.afterControllerRun');173174 call_user_func_array(array($this->controller, 'after'), $parameters);175176 if (is_object($this->controller->view) === true) {177 $view['flash'] = $this->flash['current'];178179 $this->runHooks('system.hooks.beforeRenderView');180181 $body = $view->render($this->request->isAjax());182183 $this->response->setBody($body);184 } else {185 $this->runHooks('system.hooks.beforeRenderView');186187 $this->response->setBody($this->controller->view);188 }189190 $_SESSION['onion.flash'] = $this->flash['next'];191
array ( 0 => 'false', )
132 WWW_DIR.'/js/vendor/cookie.js',133 WWW_DIR.'/js/vendor/scroll-top.js',134 ),135 'less' => array(136 )137 ),138 'after' => array(139 'js' => array(140 WWW_DIR.'/js/main.js',141 ),142 'less' => array(143 WWW_DIR.'/less/main.less'144 )145 )146 )147 );148149 $app = new \Onion\Application($configuration);150151 $app->run();152 exit;
array ( )
13 // absolute filesystem path to the libraries14 define('LIBS_DIR', realpath(WWW_DIR.'/../vendor'));1516 // absolute filesystem path to the web root17 define('ONION_DIR', LIBS_DIR.'/Onion');1819 // absolute filesystem path to the application root20 define('APP_DIR', WWW_DIR.'/../app');2122 // absolute filesystem path to the temporary files23 define('TEMP_DIR', realpath(WWW_DIR.'/../temp'));2425 // absolute filesystem path to the cache26 define('CACHE_DIR', realpath(WWW_DIR.'/../cache'));2728 define('ONIONCMS_DIR', realpath(ONION_DIR.'/../onionCMS'));2930 // load bootstrap file31 if ($_SERVER["SERVER_ADDR"] === "127.0.0.1") {32 require ONIONCMS_DIR.'/bootstrap.dev.php';33 } else {34 require ONIONCMS_DIR.'/bootstrap.php';35 }
array ( 0 => '/mnt/devel/Atrium/atriumstudio/vendor/onionCMS/bootstrap.dev.php', )
array ( 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'www.atriumarchitekti.loc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'sk,cs;q=0.8,en-US;q=0.5,en;q=0.3', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_REFERER' => 'http://www.atriumarchitekti.loc/sk/uvod', 'HTTP_CONNECTION' => 'keep-alive', 'HTTP_COOKIE' => 'qazfdrtygdfxsw=0sraet51hl7ui3mff5jsos2cgmdncoc5j1uv0ieo5q0jg1170g1iijk1ulsvomqu0b856ge4rif9p7nreueg6jr21pd2enkfhev9pl3; consent_cookie=%7B%22preferences%22%3Afalse%2C%22statistics%22%3Afalse%7D', 'HTTP_UPGRADE_INSECURE_REQUESTS' => '1', 'HTTP_PRIORITY' => 'u=0, i', 'HTTP_PRAGMA' => 'no-cache', 'HTTP_CACHE_CONTROL' => 'no-cache', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.25 (Debian) Server at www.atriumarchitekti.loc Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian)', 'SERVER_NAME' => 'www.atriumarchitekti.loc', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '127.0.0.1', 'DOCUMENT_ROOT' => '/mnt/devel/Atrium/atriumstudio/www_root', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/mnt/devel/Atrium/atriumstudio/www_root', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/mnt/devel/Atrium/atriumstudio/www_root/index.php', 'REMOTE_PORT' => '34892', 'REDIRECT_URL' => '/sk/uvod', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sk/uvod', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1728593420.5710001, 'REQUEST_TIME' => 1728593420, )
array ( )