Assembla home | Assembla project page
 

Changeset 63

Show
Ignore:
Timestamp:
02/17/08 18:00:49 (9 months ago)
Author:
tobias382
Message:

Modified regex delimiters for admin hostmasks in AdminCommand? so that / could be used without having to be escaped.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Abstract/AdminCommand.php

    r60 r63  
    103103                $this->admins[$class][] = str_replace('*', ($excluded === '' ? '.*' : '[^'.$excluded.']*'), $admin); 
    104104            } 
    105             $this->admins[$class] = '/^' . implode('|', $this->admins[$class]) . '$/'; 
     105            $this->admins[$class] = '#^' . implode('|', $this->admins[$class]) . '$#'; 
    106106        } 
    107107    }