- Timestamp:
- 2007/11/13 19:57:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/batch/SC_Batch_Update.php
r16741 r16786 141 141 static $alldirs = array(); 142 142 $dirs = glob($dir . '/*'); 143 if ( count($dirs) > 0) {143 if (is_array($dirs) && count($dirs) > 0) { 144 144 foreach ($dirs as $d) $alldirs[] = $d; 145 145 } 146 foreach ($dirs as $dir) $this->listdirs($dir); 146 if (is_array($dirs)) { 147 foreach ($dirs as $dir) $this->listdirs($dir); 148 } 147 149 return $alldirs; 148 150 }
Note: See TracChangeset
for help on using the changeset viewer.
