* scanning the whole directory structure starting from given base
* path.
*/
- $ignoreList[] = '.';
- $ignoreList[] = '..';
- $ignoreList[] = '.htaccess';
- $ignoreList[] = '.svn';
+ array_push($ignoreList, '.');
+ array_push($ignoreList, '..');
+ array_push($ignoreList, '.htaccess');
+ array_push($ignoreList, '.svn');
// Keep it in class for later usage
$this->ignoreList = $ignoreList;
$this->total++;
// Mark this class as loaded
- $this->loadedClasses[] = $this->classes[$fileName];
+ array_push($this->loadedClasses, $this->classes[$fileName]);
// Remove it from classes list
unset($this->classes[$fileName]);