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 79bcc9d commit 027636fCopy full SHA for 027636f
inc/databaseConn.php
@@ -9,7 +9,11 @@
9
////////////////////////////////////////////////////////////////////////////
10
11
// Bring in the config data
12
-require_once dirname(__FILE__) . "/config.php";
+if (file_exists(dirname(__FILE__) . "/config.php")) {
13
+ require_once dirname(__FILE__) . "/config.php";
14
+} else {
15
+ require_once dirname(__FILE__) . "/config.env.php";
16
+}
17
18
19
// There is no better place to put this, as all pages require this file.
0 commit comments