}
function render($directory = "View"){
$this->render = true;
$master_view = !is_null($this->master_view) ? $this->master_view : ucfirst($this->Routing->controller);
if ($this->stop) return false;
$this->view = !empty($this->view) ? $this->view : $this->Routing->method;
$full_path = FCPATH.APPDIR.$directory.'/'.$master_view.'/'.$this->view.'.php';
if(!@include($full_path)){
if ($this->config['global']['debug']) trigger_error('Master view file "'.$full_path.'" - file not found.', E_USER_ERROR);
else $this->show_404();
}
return $full_path;
function _default($args){
$this->render();
}
function _show($args){
if (is_array($args)){
$this->set_view(implode("/", $args));
}
else $this->set_view($args);
$this->render();
}
function _append(){
function exec_method($_class, $_method, $_arguments, $mandatory = true){
if (!method_exists($_class, $_method)){
$classname = get_class($_class);
$path = new ReflectionClass($classname);
$path = $path->getFileName();
if ($mandatory) trigger_error("Method \"{$_method}\" was not found in {$path}.", E_USER_ERROR);
return false;
}
call_user_func_array(array($_class, $_method), array($_arguments));
}
$app_controller_path = FCPATH.'Application/Controller/'.$Routing->controller.'.php';
$app_controller = &load_class($app_controller_path, "", $config);
if ( method_exists($app_controller, '_prepend') ) exec_method($app_controller, '_prepend', $Routing->arguments);
if ( method_exists($app_controller, "_".$Routing->method) ) exec_method($app_controller, '_'.$Routing->method, $Routing->arguments, true);
else {
if (is_array($Routing->arguments)){
define('APPDIR', str_replace("\\", "/", "Application/"));
define('FCPATH', str_replace(SELF, '', __FILE__));
define('ROOT', empty($rootdir) ? '/' : '/'.$rootdir.'/');
define('GUARD', true);
* Here we go.
*--------------------*/
if( !require_once(SYSDIR."Master.php") ){
exit(SYSDIR."Master.php | Mandatory file not found.");
}
construct controller
=>
1726004613
User-Agent
=>
"CCBot/2.0 (https://commoncrawl.org/faq/)"
Accept
=>
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
Accept-Language
=>
"en-US,en;q=0.5"
If-Modified-Since
=>
"Mon, 12 Aug 2024 14:38:24 GMT"
Accept-Encoding
=>
"br,gzip"
Host
=>
"lampedusaimwinter.derfilm.at"
Connection
=>
"Keep-Alive"
Set-Cookie
=>
"PHPSESSID=h66ass17j54s69787sri93u8i4; path=/"
Expires
=>
"Thu, 19 Nov 1981 08:52:00 GMT"
Cache-Control
=>
"no-store, no-cache, must-revalidate"
Pragma
=>
"no-cache"
REDIRECT_STATUS
=>
"200"
HTTP_USER_AGENT
=>
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
=>
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
=>
"en-US,en;q=0.5"
HTTP_IF_MODIFIED_SINCE
=>
"Mon, 12 Aug 2024 14:38:24 GMT"
HTTP_ACCEPT_ENCODING
=>
"br,gzip"
HTTP_HOST
=>
"lampedusaimwinter.derfilm.at"
HTTP_CONNECTION
=>
"Keep-Alive"
PATH
=>
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
=>
"<address>Apache/2.4.41 (Ubuntu) Server at lampedusaimwinter.derfilm.at Port 80</address>
"
SERVER_SOFTWARE
=>
"Apache/2.4.41 (Ubuntu)"
SERVER_NAME
=>
"lampedusaimwinter.derfilm.at"
SERVER_ADDR
=>
"77.244.250.93"
SERVER_PORT
=>
"80"
REMOTE_ADDR
=>
"3.238.227.73"
DOCUMENT_ROOT
=>
"/var/www/filmwww/lampedusaimwinter.derfilm.at"
REQUEST_SCHEME
=>
"http"
CONTEXT_PREFIX
=>
""
CONTEXT_DOCUMENT_ROOT
=>
"/var/www/filmwww/lampedusaimwinter.derfilm.at"
SERVER_ADMIN
=>
"admin+filmwww@filmladen.at"
SCRIPT_FILENAME
=>
"/var/www/filmwww/lampedusaimwinter.derfilm.at/index.php"
REMOTE_PORT
=>
"53290"
REDIRECT_URL
=>
"/+431523436244"
GATEWAY_INTERFACE
=>
"CGI/1.1"
SERVER_PROTOCOL
=>
"HTTP/1.1"
REQUEST_METHOD
=>
"GET"
QUERY_STRING
=>
""
REQUEST_URI
=>
"/+431523436244"
SCRIPT_NAME
=>
"/index.php"
PHP_SELF
=>
"/index.php"
REQUEST_TIME_FLOAT
=>
1726004613.096
REQUEST_TIME
=>
1726004613