X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=b10397dda2d079cb785caa6fddef262d77331503;hb=7836ed9b2e98e2c6898f011e431d3a58ebcfa3e5;hp=869f42de1352eafb5ec95bf44de6ca2c1b29855e;hpb=2835ac7cbe65fd2b602cadad5e9d6b09eb670d59;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)