소스 검색

Security class now implements the Singleton interface

Taddeus Kroes 13 년 전
부모
커밋
5614a4debc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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';