Ejemplo n.º 1
0
 function removeFiles()
 {
     $files = DMInstallHelper::getFiles();
     foreach ($files as $file) {
         JFile::delete($file);
     }
     $folders = DMInstallHelper::getFolders();
     foreach ($folders as $folder) {
         JFolder::delete($folder);
     }
 }