uawdijnntqw1x1x1
IP : 3.138.119.136
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
jannah
/
.
/
..
/
system.2
/
library
/
template
/
twig.php
/
/
<?php namespace Template; final class Twig { private $data = array(); public function set($key, $value) { $this->data[$key] = $value; } public function render($filename, $code = '') { if (!$code) { $file = DIR_TEMPLATE . $filename . '.twig'; if (is_file($file)) { $code = file_get_contents($file); } else { throw new \Exception('Error: Could not load template ' . $file . '!'); exit(); } } // initialize Twig environment $config = array( 'autoescape' => false, 'debug' => false, 'auto_reload' => true, 'cache' => DIR_CACHE . 'template/' ); try { $loader = new \Twig\Loader\ArrayLoader(array($filename . '.twig' => $code)); $twig = new \Twig\Environment($loader, $config); return $twig->render($filename . '.twig', $this->data); } catch (Exception $e) { trigger_error('Error: Could not load template ' . $filename . '!'); exit(); } } }
/home/sudancam/.trash/jannah/./../system.2/library/template/twig.php