mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-03 05:31:16 -04:00
Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
This commit is contained in:
@@ -26,6 +26,7 @@ class Quick_Controller extends Controller {
|
||||
|
||||
$view = new View("quick_pane.html");
|
||||
$view->item = $item;
|
||||
$view->csrf = access::csrf_token();
|
||||
print $view;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user