From: garvinhicking Date: Tue, 3 May 2005 07:39:06 +0000 (+0000) Subject: fix paths for people X-Git-Tag: 0.9~483 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2661f3c803cbef9d112ce56bcd6c47165afd1475;p=s9y.git fix paths for people --- diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 9403951..5049241 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -221,6 +221,12 @@ if (isset($_SESSION['serendipityAuthorid'])) { serendipity_load_configuration($_SESSION['serendipityAuthorid']); } +// Try to fix some path settings. It seems common users have this setting wrong +// when s9y is installed into the root directory, especially 0.7.1 upgrade users. +if (empty($serendipity['serendipityHTTPPath'])) { + $serendipity['serendipityHTTPPath'] = '/'; +} + /* * Load main language file again, because now we have the preferred language */