mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
3c6720600b
commit
eb49799f02
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
if (!isset($global['systemRootPath'])) {
|
if (!isset($global['systemRootPath'])) {
|
||||||
require_once '../videos/configuration.php';
|
require_once dirname(__FILE__) . '/../videos/configuration.php';
|
||||||
}
|
}
|
||||||
require_once $global['systemRootPath'] . 'objects/user.php';
|
require_once $global['systemRootPath'] . 'objects/user.php';
|
||||||
require_once $global['systemRootPath'] . 'objects/category.php';
|
require_once $global['systemRootPath'] . 'objects/category.php';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue