We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f8a332 commit 61670a1Copy full SHA for 61670a1
include/autoloader.inc.php
@@ -2,7 +2,11 @@
2
(SECURITY == "*)WT#&YHfd" && SECHASH_CHECK) ? die("public/index.php -> Set a new SECURITY value to continue") : 0;
3
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
4
5
-require_once(INCLUDE_DIR . '/../vendor/autoload.php');
+if (file_exists(INCLUDE_DIR . '/../vendor/autoload.php')) {
6
+ require_once(INCLUDE_DIR . '/../vendor/autoload.php');
7
+} else {
8
+ die("Unable to load vendor libraries, please run `php composer.phar install` in root folder.");
9
+}
10
11
// Default classes
12
require_once(INCLUDE_DIR . '/lib/KLogger.php');
0 commit comments