Skip to content
Snippets Groups Projects
Unverified Commit 1ed51d2c authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4363 from JediKev/issue/bootstrap-cli-2

issue: CLI Deploy Missing Bootstrap Fix
parents b85e795c 2dacfde0
No related branches found
No related tags found
No related merge requests found
...@@ -210,7 +210,11 @@ class Unpacker extends Module { ...@@ -210,7 +210,11 @@ class Unpacker extends Module {
), $pipes); ), $pipes);
fwrite($pipes[0], "<?php fwrite($pipes[0], "<?php
include '{$this->source}/bootstrap.php'; if (file_exists('{$this->destination}/bootstrap.php'))
include '{$this->destination}/bootstrap.php';
else
include '{$this->source}/bootstrap.php';
print INCLUDE_DIR; print INCLUDE_DIR;
"); ");
fclose($pipes[0]); fclose($pipes[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment