Ensured install and update script change to the project dir

This commit is contained in:
Alejandro Celaya
2019-02-17 10:51:22 +01:00
parent d9f11e190f
commit 5c5dde48de
3 changed files with 9 additions and 1 deletions

View File

@@ -4,5 +4,9 @@ declare(strict_types=1);
namespace Shlinkio\Shlink;
use function chdir;
use function dirname;
chdir(dirname(__DIR__));
$run = require __DIR__ . '/../vendor/shlinkio/shlink-installer/bin/run.php';
$run(false);