Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Fixed broken path case
Browse files Browse the repository at this point in the history
  • Loading branch information
ajthinking committed May 8, 2018
1 parent aeb4063 commit cc146f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Stimpack/Manipulators/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function perform() {
$zip = new ZipArchive;
$res = $zip->open(storage_path("stimpack/laravel.zip"));
if ($res === TRUE) {
$zip->extractTo($this->env('STIMPACK_CODE_PATH', base_path("../")) . $this->data->path);
$zip->extractTo(str_finish($this->env('STIMPACK_CODE_PATH', base_path("../")), "/") . $this->data->path);
$zip->close();
} else {
return "some Error?";
Expand Down

0 comments on commit cc146f8

Please sign in to comment.