mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-29 06:43:11 +00:00
Fixing directory and required file issues
This commit is contained in:
parent
9ed36e2738
commit
1472692ed5
16 changed files with 51 additions and 119 deletions
|
@ -2,7 +2,7 @@
|
|||
/*
|
||||
User defined settings
|
||||
*/
|
||||
include "app/settings/settings.php";
|
||||
require_once dirname(__DIR__)."/app/settings/settings.php";
|
||||
|
||||
/*if ($debug["testing"]) {
|
||||
// Used for testing, do not use this in production
|
||||
|
@ -36,13 +36,13 @@ if (is_file("index.php")) {
|
|||
/*
|
||||
Connect to the server
|
||||
*/
|
||||
include "app/server/conn.php";
|
||||
include "app/server/secrete.php";
|
||||
require_once dirname(__DIR__)."/app/server/conn.php";
|
||||
require_once dirname(__DIR__)."/app/server/secrete.php";
|
||||
|
||||
/*
|
||||
Classes
|
||||
*/
|
||||
require_once 'app/app.php';
|
||||
require_once dirname(__DIR__)."/app/app.php";
|
||||
|
||||
?>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue