Warn users that they probably downloaded the wrong zip file
This commit is contained in:
parent
6c2244ec20
commit
7268ed5cbd
6 changed files with 6 additions and 6 deletions
|
@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
|
|
||||||
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
||||||
|
|
|
@ -41,7 +41,7 @@ if (file_exists(dirname(getcwd()) . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
|
|
||||||
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
||||||
|
|
|
@ -46,7 +46,7 @@ if (file_exists(dirname(dirname(getcwd())) . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
|
|
||||||
require PROJECT_PATH_ROOT . "vendor/autoload.php";
|
require PROJECT_PATH_ROOT . "vendor/autoload.php";
|
||||||
|
|
|
@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
|
|
||||||
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
||||||
|
|
|
@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
|
|
||||||
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
||||||
|
|
|
@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) {
|
||||||
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. Please, execute "<strong>composer install</strong>" in the folder where you installed Baïkal.');
|
die('<h1>Incomplete installation</h1><p>Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.</p><p>To install the dependencies manually, execute "<strong>composer install</strong>" in the Baïkal root folder.</p>');
|
||||||
}
|
}
|
||||||
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
require PROJECT_PATH_ROOT . 'vendor/autoload.php';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue