X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=b10397dda2d079cb785caa6fddef262d77331503;hb=650a5f09cbeb1c1bef19810c6cc504c06d5b7e87;hp=869f42de1352eafb5ec95bf44de6ca2c1b29855e;hpb=e809908f9e593b2cec11f72849caa1dae6394451;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 869f42de..b10397dd 100644 --- a/index.php +++ b/index.php @@ -35,6 +35,9 @@ use Slim\App; $conf = new ConfigManager(); +// Manually override root URL for complex server configurations +define('SHAARLI_ROOT_URL', $conf->get('general.root_url', null)); + // In dev mode, throw exception on any warning if ($conf->get('dev.debug', false)) { // See all errors (for debugging only)