Kohana_Exception [ kohana/core.errors.403 ]: @todo FORBIDDEN MODPATH/gallery/helpers/access.php[ 202 ] 197 198 /** 199 * Terminate immediately with an HTTP 403 Forbidden response. 200 */ 201 static function forbidden() { 202 throw new Kohana_Exception("@todo FORBIDDEN", null, 403); 203 } 204 205 /** 206 * Internal method to set a permission 207 * MODPATH/gallery/helpers/access.php[ 425 ] » access_Core::forbidden() 420 * Verify our Cross Site Request Forgery token is valid, else throw an exception. 421 */ 422 static function verify_csrf() { 423 $input = Input::instance(); 424 if ($input->post("csrf", $input->get("csrf", null)) !== Session::instance()->get("csrf")) { 425 access::forbidden(); 426 } 427 } 428 429 /** 430 * Get the Cross Site Request Forgery token for this session. MODPATH/server_add/controllers/admin_server_add.php[ 60 ] » access_Core::verify_csrf() 55 $view->content->paths = array_keys($paths); 56 print $view; 57 } 58 59 public function remove_path() { 60 access::verify_csrf(); 61 62 $path = Input::instance()->get("path"); 63 $paths = unserialize(module::get_var("server_add", "authorized_paths")); 64 if (isset($paths[$path])) { 65 unset($paths[$path]); MODPATH/gallery/controllers/admin.php[ 62 ] » Admin_Server_Add_Controller->remove_path() 57 58 if (!method_exists($controller_name, $method)) { 59 throw new Kohana_404_Exception(); 60 } 61 62 call_user_func_array(array(new $controller_name, $method), $args); 63 } 64 65 private static function _reauth_check() { 66 $session = Session::instance(); 67 $last_active_auth = $session->get("active_auth_timestamp", 0); {PHP internal call} » Admin_Controller->__call( arguments ) SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments ) 326 327 // Start the controller execution benchmark 328 Benchmark::start(SYSTEM_BENCHMARK.'_controller_execution'); 329 330 // Execute the controller method 331 $method->invokeArgs($controller, $arguments); 332 333 // Controller method has been executed 334 Event::run('system.post_controller'); 335 336 // Stop the controller execution benchmark SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments ) 203 Event::$data =& $data; 204 $callbacks = Event::get($name); 205 206 foreach ($callbacks as $callback) 207 { 208 call_user_func_array($callback, array(&$data)); 209 } 210 211 // Do this to prevent data from getting 'stuck' 212 $clear_data = ''; 213 Event::$data =& $clear_data; APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments ) 62 63// End system_initialization 64Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization'); 65 66// Make the magic happen! 67Event::run('system.execute'); DOCROOT/index.php[ 102 ] » require( arguments ) 97if (file_exists("local.php")) { 98 include("local.php"); 99} 100 101// Initialize. 102require APPPATH . "Bootstrap" . EXT;