Changeset 63
- Timestamp:
- 02/17/08 18:00:49 (9 months ago)
- Files:
-
- trunk/Phergie/Plugin/Abstract/AdminCommand.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Abstract/AdminCommand.php
r60 r63 103 103 $this->admins[$class][] = str_replace('*', ($excluded === '' ? '.*' : '[^'.$excluded.']*'), $admin); 104 104 } 105 $this->admins[$class] = ' /^' . implode('|', $this->admins[$class]) . '$/';105 $this->admins[$class] = '#^' . implode('|', $this->admins[$class]) . '$#'; 106 106 } 107 107 }