config should be outside dist
This commit is contained in:
parent
536e2ec8fe
commit
af0a042f04
3
dist/backend.php
vendored
3
dist/backend.php
vendored
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?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:
|
# load php dependencies:
|
||||||
require_once './backend-libs/autoload.php';
|
require_once './backend-libs/autoload.php';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user