Fix main.php path in install.php

This commit is contained in:
Ingo Schommer 2017-10-03 03:19:23 +13:00
parent 2d53abd2c2
commit 7de2e07139

View File

@ -9,7 +9,7 @@
************************************************************************************
************************************************************************************/
if (!file_exists('vendor/silverstripe/framework') || !file_exists('vendor/silverstripe/framework/_config.php')) {
if (!file_exists(__DIR__ . '/vendor/silverstripe/framework') || !file_exists(__DIR__ . '/vendor/silverstripe/framework/_config.php')) {
include 'install-frameworkmissing.html';
} else {
include './vendor/silverstripe/framework/src/Dev/Install/install.php';