Changeset 864 in ExiteCMS for trunk/administration/modules.php
- Timestamp:
- 10/03/07 21:38:21 (5 years ago)
- File:
-
- 1 edited
-
trunk/administration/modules.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/modules.php
r834 r864 295 295 296 296 $variables['mod_errors'] = array(); 297 $variables['is_error'] = count($mod_errors);297 $variables['is_error'] = 0; 298 298 299 299 // if an upgrade function exists, call it … … 313 313 while ($folder = readdir($temp)) { 314 314 // skipping current and parent folder entries... 315 if (!in_array($folder, array("..",".")) ) {315 if (!in_array($folder, array("..",".")) && $folder{0} != ".") { 316 316 // if it's a directory, and a module_installer can be found in the directory... 317 317 if (is_dir(PATH_MODULES.$folder) && file_exists(PATH_MODULES.$folder."/module_installer.php")) {
Note: See TracChangeset
for help on using the changeset viewer.
