-
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/gallery/controllers/quick.php[ 60 ] » access_Core::verify_csrf()
55 "height" => $item->resize_height)); 56 } 57 } 58 59 public function make_album_cover($id) { 60 access::verify_csrf(); 61 62 $item = model_cache::get("item", $id); 63 access::required("view", $item); 64 access::required("view", $item->parent()); 65 access::required("edit", $item->parent());
-
{PHP Interne Call} » Quick_Controller->make_album_cover( argumenten )
id
string(1) "6"
-
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( argumenten )
object
array(0)
args
array(1) ( 0 => string(1) "6" )
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( argumenten )
0
NULL
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( argumenten )
name
string(14) "system.execute"
62 63// End system_initialization 64Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization'); 65 66// Make the magic happen! 67Event::run('system.execute');
-
DOCROOT/index.php[ 116 ] » require( argumenten )
0
string(86) "/home/nico/domains/tabmetaalspuiten.nl/public_html/fotoalbum/application/Bootstrap.php"
111if (file_exists("local.php")) { 112 include("local.php"); 113} 114 115// Initialize. 116require APPPATH . "Bootstrap" . EXT;