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