deal with autoinstall path problem

This commit is contained in:
sungbum hong 2014-12-31 17:52:46 +09:00
parent a901ad5f16
commit c3430d1c72

View file

@ -124,7 +124,7 @@ class ModuleInstaller
}
else
{
$subpath = substr($this->package->path, 2);
$subpath = trim(substr($this->package->path, 2), '/');
$this->download_file = $this->temp_dir . $subpath . ".tar";
$subpatharr = explode("/", $subpath);
array_pop($subpatharr);