Changeset 1872
- Timestamp:
- 06/05/10 01:16:17 (3 years ago)
- File:
-
- 1 edited
-
branches/1.3/libs/Maintenance.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/libs/Maintenance.php
r1871 r1872 133 133 $success = false; 134 134 while (($file = readdir($handle))!==false) { 135 if ($file != 'placeholder.txt') { 135 if (is_file($dir.'/'.$file)) { 136 if ($file != 'placeholder.txt') { 136 137 if (@unlink($dir.'/'.$file)) { 137 138 // ignore setting $success for the JavascriptConstants file which is ALWAYS present (even gets regenerated after deletion) … … 141 142 } 142 143 } 144 } 143 145 } 144 146 closedir($handle); 145 146 147 return $success; 147 148 }
Note: See TracChangeset
for help on using the changeset viewer.