fix: we were always using the wiki image provider: make sure to actually load the config
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
define('__ROOT__', dirname(dirname(__FILE__)));
|
define('__ROOT__', dirname(dirname(__FILE__)));
|
||||||
require_once(__ROOT__ . '/scripts/common.php');
|
require_once(__ROOT__ . '/scripts/common.php');
|
||||||
|
|
||||||
|
$config = get_config();
|
||||||
$requestUri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
$requestUri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
||||||
$requestMethod = $_SERVER['REQUEST_METHOD'];
|
$requestMethod = $_SERVER['REQUEST_METHOD'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user