config should be outside dist
This commit is contained in:
parent
536e2ec8fe
commit
af0a042f04
1 changed files with 2 additions and 1 deletions
3
dist/backend.php
vendored
3
dist/backend.php
vendored
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
require_once './config.php';
|
||||
# set the new path of config.php (must be in a safe location outside the `public_html`)
|
||||
require_once '../../config.php';
|
||||
|
||||
# load php dependencies:
|
||||
require_once './backend-libs/autoload.php';
|
||||
|
|
Loading…
Reference in a new issue