From a926328583e7ffdaaac7daf2f87810d842423f21 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 10 Nov 2010 15:26:43 -0600 Subject: Changing all class constructors to __construct() --- system/libraries/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Security.php') 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; -- cgit v1.2.3-24-g4f1b