浏览代码

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';