fix: require_once
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
error_reporting(E_ERROR);
|
error_reporting(E_ERROR);
|
||||||
ini_set('display_errors',1);
|
ini_set('display_errors',1);
|
||||||
require_once "scripts/common.php";
|
define('__ROOT__', dirname(dirname(__FILE__)));
|
||||||
|
require_once(__ROOT__.'/scripts/common.php');
|
||||||
|
|
||||||
$user = get_user();
|
$user = get_user();
|
||||||
$home = get_home();
|
$home = get_home();
|
||||||
$config = get_config();
|
$config = get_config();
|
||||||
|
|||||||
Reference in New Issue
Block a user