diff options
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r-- | core/libraries/Theme_View.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index cce315ff..bcd1604f 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -47,6 +47,7 @@ class Theme_View_Core extends View { $this->set_global("theme", $this); $this->set_global("user", user::active()); $this->set_global("page_type", $page_type); + $this->set_global("csrf", access::csrf_token()); $maintenance_mode = Kohana::config("core.maintenance_mode", false, false); if ($maintenance_mode) { |