diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 23:24:42 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 23:24:42 +0000 |
commit | b7ea2e2e377568a3730ed46b8df1751cc747323f (patch) | |
tree | 737a894cbbf111fdc205d2f015b25e728b337da3 /views/installation/input/securitytoken.php | |
parent | 0212a359267ab5e109a80d14f8c069225202ac3b (diff) | |
download | elgg-b7ea2e2e377568a3730ed46b8df1751cc747323f.tar.gz elgg-b7ea2e2e377568a3730ed46b8df1751cc747323f.tar.bz2 |
clean up installation input views
git-svn-id: http://code.elgg.org/elgg/trunk@9087 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/installation/input/securitytoken.php')
-rw-r--r-- | views/installation/input/securitytoken.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/views/installation/input/securitytoken.php b/views/installation/input/securitytoken.php deleted file mode 100644 index 75410848a..000000000 --- a/views/installation/input/securitytoken.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -/** - * CSRF security token view for use with secure forms. - * - * It is still recommended that you use input/form. - * - * @package Elgg - * @subpackage Core - */ - -$ts = time(); -$token = generate_action_token($ts); - -echo elgg_view('input/hidden', array('name' => '__elgg_token', 'value' => $token)); -echo elgg_view('input/hidden', array('name' => '__elgg_ts', 'value' => $ts)); |