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 f7fbb8f commit 74130b9Copy full SHA for 74130b9
go.php
@@ -8,6 +8,7 @@
8
*/
9
chdir(dirname($_SERVER["DOCUMENT_ROOT"]));
10
ini_set("display_errors", "on");
11
+ini_set("html_errors", "false");
12
/**
13
* Before any code is executed, return false here if a static file is requested.
14
* When running the PHP inbuilt server, this will output the static file.
@@ -26,7 +27,7 @@
26
27
* files exist.
28
* @link https://getcomposer.org/doc/00-intro.md
29
-foreach([__DIR__, dirname($_SERVER["DOCUMENT_ROOT"])] as $dir) {
30
+foreach([dirname($_SERVER["DOCUMENT_ROOT"]), __DIR__] as $dir) {
31
$autoloadPath = "$dir/vendor/autoload.php";
32
if(file_exists($autoloadPath)) {
33
/** @noinspection PhpIncludeInspection */
0 commit comments