Skip to content

Commit

Permalink
Merge pull request #195 from savage4pro/ocshop-2.1.0.2-patch-1
Browse files Browse the repository at this point in the history
2.1.0.2. fix cachemanager
  • Loading branch information
ocshop committed Jan 22, 2016
2 parents 40f48b7 + 3474657 commit 440faaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/module/cachemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function deldir($dirname){
if(file_exists($dirname)) {
if(is_dir($dirname)){
$dir=opendir($dirname);
while($filename=readdir($dir)){
while(($filename=readdir($dir)) !== false){
if($filename!="." && $filename!=".."){
$file=$dirname."/".$filename;
$this->deldir($file);
Expand Down

0 comments on commit 440faaf

Please sign in to comment.