mirror of
https://github.com/e107inc/e107.git
synced 2025-03-17 19:09:45 +01:00
added e_NOBODY_REGEXP for use in queries when you want the userclass of 'nobody' to override any selected class
This commit is contained in:
parent
1bf141fa8d
commit
6f98fa6a54
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:33:02 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-03 03:26:22 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -1332,6 +1332,7 @@ function init_session() {
|
||||
|
||||
define('USERCLASS_LIST', class_list());
|
||||
define('e_CLASS_REGEXP', "(^|,)(".str_replace(",", "|", USERCLASS_LIST).")(,|$)");
|
||||
define('e_NOBODY_REGEXP', "(^|,)".e_UC_NOBODY."(,|$)");
|
||||
}
|
||||
|
||||
$sql->db_Mark_Time('Start: Go online');
|
||||
|
Loading…
x
Reference in New Issue
Block a user