includes/pageutils.php
changeset 39 c83ff194977a
parent 32 4d87aad3c4c0
child 40 723bb7acf914
equal deleted inserted replaced
38:ed06961e54dd 39:c83ff194977a
  1364         closedir($dh);
  1364         closedir($dh);
  1365       }
  1365       }
  1366     }
  1366     }
  1367     else
  1367     else
  1368     {
  1368     {
  1369       return(Array('mode' => 'error', 'error' => $dir.' is not a dir'));
  1369       return($json->encode(Array('mode' => 'error', 'error' => $dir.' is not a dir')));
  1370     }
  1370     }
  1371     
  1371     
  1372     return $json->encode($list);
  1372     return $json->encode($list);
  1373   }
  1373   }
  1374   
  1374