mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -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:
@@ -44,7 +44,6 @@ class Admin_Maintenance_Controller extends Admin_Controller {
|
||||
->where("done", 0)->orderby("updated", "DESC")->find_all();
|
||||
$view->content->finished_tasks = ORM::factory("task")
|
||||
->where("done", 1)->orderby("updated", "DESC")->find_all();
|
||||
$view->content->csrf = access::csrf_token();
|
||||
print $view;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user