[-] WS : Multiple fix on Web Services
This commit is contained in:
@@ -177,7 +177,7 @@ class Autoload
|
||||
$classes = array_merge($classes, $this->getClassesFromDir($path.$file.'/'));
|
||||
else if (substr($file, -4) == '.php')
|
||||
{
|
||||
$content = file_get_contents($this->root_dir.$path.$file);
|
||||
$content = file_get_contents($this->root_dir.$path.$file);
|
||||
$pattern = '#\W((abstract\s+)?class|interface)\s+(?P<classname>'.basename($file, '.php').'(Core)?)'
|
||||
.'(\s+extends\s+[a-z][a-z0-9_]*)?(\s+implements\s+[a-z][a-z0-9_]*(\s*,\s*[a-z][a-z0-9_]*)*)?\s*\{#i';
|
||||
if (preg_match($pattern, $content, $m))
|
||||
|
||||
Reference in New Issue
Block a user