Explorar o código

Security class now implements the Singleton interface

Taddeus Kroes %!s(int64=13) %!d(string=hai) anos
pai
achega
5614a4debc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      security.php

+ 1 - 1
security.php

@@ -118,7 +118,7 @@ interface AuthorizedUser {
 	function getRole();
 }
 
-class Security {
+class Security implements Singleton {
 	const SESSION_TOKEN_NAME = 'auth_token';
 	const SESSION_NAME_USERDATA = 'auth_userdata';