From 5c04bb515f72edb46127eefca01e32c07de908bd Mon Sep 17 00:00:00 2001 From: rylon Date: Tue, 23 Dec 2014 15:22:57 +0100 Subject: [PATCH] made security function protected for overloading --- security/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Security.php b/security/Security.php index 89118aa..ea231dd 100644 --- a/security/Security.php +++ b/security/Security.php @@ -122,7 +122,7 @@ class Security { return (isset($_SESSION[\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL)]) && $_SESSION[\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL)] instanceof User);} - private static function startSession(){ + protected static function startSession(){ if(!isset($_SESSION) && !headers_sent()){ \session_start();}} } \ No newline at end of file