-
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[ 22 ] » access_Core::verify_csrf()
17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 19 */ 20class Quick_Controller extends Controller { 21 public function rotate($id, $dir) { 22 access::verify_csrf(); 23 $item = model_cache::get("item", $id); 24 access::required("view", $item); 25 access::required("edit", $item); 26 27 $degrees = 0;
-
{PHP Interne Call} » Quick_Controller->rotate( argumenten )
id
string(2) "30"
dir
string(2) "cw"
-
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( argumenten )
object
array(0)
args
array(2) ( 0 => string(2) "30" 1 => string(2) "cw" )
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;