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