From 7268ed5cbd275d8d159ac6e887a28a07c04db7c6 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 11 Mar 2020 23:33:57 +0100 Subject: [PATCH] Warn users that they probably downloaded the wrong zip file --- Core/Frameworks/Baikal/WWWRoot/index.php | 2 +- Core/Frameworks/BaikalAdmin/WWWRoot/index.php | 2 +- Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php | 2 +- html/cal.php | 2 +- html/card.php | 2 +- html/dav.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Core/Frameworks/Baikal/WWWRoot/index.php b/Core/Frameworks/Baikal/WWWRoot/index.php index 092a21c..d70abc6 100644 --- a/Core/Frameworks/Baikal/WWWRoot/index.php +++ b/Core/Frameworks/Baikal/WWWRoot/index.php @@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; diff --git a/Core/Frameworks/BaikalAdmin/WWWRoot/index.php b/Core/Frameworks/BaikalAdmin/WWWRoot/index.php index db5676f..32bdfaa 100644 --- a/Core/Frameworks/BaikalAdmin/WWWRoot/index.php +++ b/Core/Frameworks/BaikalAdmin/WWWRoot/index.php @@ -41,7 +41,7 @@ if (file_exists(dirname(getcwd()) . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; diff --git a/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php b/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php index 371b48c..547214f 100644 --- a/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php +++ b/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php @@ -46,7 +46,7 @@ if (file_exists(dirname(dirname(getcwd())) . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . "vendor/autoload.php"; diff --git a/html/cal.php b/html/cal.php index 0992bff..7242048 100644 --- a/html/cal.php +++ b/html/cal.php @@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; diff --git a/html/card.php b/html/card.php index 5501ca1..1ee24a0 100644 --- a/html/card.php +++ b/html/card.php @@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; diff --git a/html/dav.php b/html/dav.php index 12429e5..d068b54 100644 --- a/html/dav.php +++ b/html/dav.php @@ -40,7 +40,7 @@ if (file_exists(getcwd() . "/Core")) { } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { - die('

Incomplete installation

Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); + die('

Incomplete installation

Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file.

To install the dependencies manually, execute "composer install" in the Baïkal root folder.

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php';