Permalink
Browse files

Quick Change

  • Loading branch information...
sebastienheraud committed Feb 8, 2019
1 parent 108ebd6 commit f56385d3210aac82b101fac78644f780182b28b2
Showing with 3 additions and 1 deletion.
  1. +3 −1 libraries/cck/base/install/export.php
@@ -164,8 +164,10 @@ public static function zip( $path, $path_zip )
}
}
require_once JPATH_COMPONENT.'/helpers/pclzip/pclzip.lib.php';
require_once JPATH_ADMINISTRATOR.'/components/com_cck/helpers/pclzip/pclzip.lib.php';
$zip = new PclZip( $path_zip );
if ( $zip->create( $path, PCLZIP_OPT_REMOVE_PATH, $path ) == 0 ) {
return;
}

0 comments on commit f56385d

Please sign in to comment.