diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/libraries/Admin_View.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/libraries/Admin_View.php b/core/libraries/Admin_View.php index 5876b66c..7d95dd0f 100644 --- a/core/libraries/Admin_View.php +++ b/core/libraries/Admin_View.php @@ -42,8 +42,9 @@ class Admin_View_Core extends View { $this->theme_name = Input::instance()->get("theme", $this->theme_name); } $this->sidebar = ""; - $this->set_global('theme', $this); - $this->set_global('user', user::active()); + $this->set_global("theme", $this); + $this->set_global("user", user::active()); + $this->set_global("csrf", access::csrf_token()); } public function url($path, $absolute_url=false) { |