| Server IP : 23.94.149.180 / Your IP : 216.73.216.147 Web Server : nginx/1.20.1 System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.6.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /files/webmaint/kennethmyatt/gallery3-hh/system/libraries/ |
Upload File : |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Kohana Controller class. The controller class must be extended to work
* properly, so this class is defined as abstract.
*
*
* @package Kohana
* @author Kohana Team
* @copyright (c) 2007-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
abstract class Controller_Core {
// Allow all controllers to run in production by default
const ALLOW_PRODUCTION = TRUE;
/**
* Loads URI, and Input into this controller.
*
* @return void
*/
public function __construct()
{
if (Kohana::$instance == NULL)
{
// Set the instance to the first controller loaded
Kohana::$instance = $this;
}
}
/**
* Handles methods that do not exist.
*
* @param string method name
* @param array arguments
* @return void
*/
public function __call($method, $args)
{
// Default to showing a 404 page
Event::run('system.404');
}
} // End Controller Class