summaryrefslogtreecommitdiff
path: root/core/views/simple_uploader.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-27 03:43:21 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-27 03:43:21 +0000
commit921f3a2eeeca9be23cb006a31b6d6f71e186374a (patch)
treef9626ae5191418410714b662799649de5a1ea37c /core/views/simple_uploader.html.php
parentd7719a7e72de2ddc46c9173b0871f53e32ef40fc (diff)
Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
Diffstat (limited to 'core/views/simple_uploader.html.php')
-rw-r--r--core/views/simple_uploader.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/simple_uploader.html.php b/core/views/simple_uploader.html.php
index 246e59b2..16ca0d0b 100644
--- a/core/views/simple_uploader.html.php
+++ b/core/views/simple_uploader.html.php
@@ -68,7 +68,7 @@
post_params: {
"g3sid": "<?= Session::instance()->id() ?>",
"user_agent": "<?= Input::instance()->server("HTTP_USER_AGENT") ?>",
- "csrf": "<?= access::csrf_token() ?>"
+ "csrf": "<?= $csrf ?>"
},
file_size_limit : "100 MB",
file_types : "*.gif;*.jpg;*.png;*.flv;*.mp4",