summaryrefslogtreecommitdiffstats
path: root/system/libraries/Security.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Security.php')
-rw-r--r--system/libraries/Security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Security.php b/system/libraries/Security.php
index 0fa1428be..d2638560c 100644
--- a/system/libraries/Security.php
+++ b/system/libraries/Security.php
@@ -51,7 +51,7 @@ class CI_Security {
"Redirect\s+302" => '[removed]'
);
- function CI_Security()
+ public function __construct()
{
// Append application specific cookie prefix to token name
$this->csrf_cookie_name = (config_item('cookie_prefix')) ? config_item('cookie_prefix').$this->csrf_token_name : $this->csrf_token_name;