Browse Source

modified condidion for autoloaded filenames

master
Anton Grebnev 13 years ago
parent
commit
30931b1571
  1. 2
      util/AutoloadBuilder.php

2
util/AutoloadBuilder.php

@ -41,7 +41,7 @@ class AutoloadBuilder
foreach ($iterator as $file) {
// skip non php files
$e = explode('.', $file->getFileName());
if ((end($e) !== 'php') || strstr((string)$file, 'test')) {
if ((end($e) !== 'php') || strstr($file->getFileName(), 'test')) {
continue;
}

Loading…
Cancel
Save