示例#1
0
 public function destroy($package)
 {
     \PackagesHelper::uninstallPackage($package);
     $path = app_path() . '/Cms/Packages/Source/' . $package;
     \FilesHelper::deleteDirectory($path);
     return \Redirect::route('dev.packages.index');
 }