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
Branches
Tags
No related merge requests found
......@@ -210,7 +210,11 @@ class Unpacker extends Module {
), $pipes);
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;
");
fclose($pipes[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment