From 8eb13121a4a016e8440cbcdf2c143037b9b1d6e6 Mon Sep 17 00:00:00 2001 From: Ian Date: Sat, 7 Apr 2012 10:55:23 +0200 Subject: [PATCH] fixed defaultBaseURL in installer as follow-up commit c292bad --- docs/NEWS | 3 +++ include/functions_installer.inc.php | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/NEWS b/docs/NEWS index 87734e07..569f2b94 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -4,6 +4,9 @@ Version 1.7 () ------------------------------------------------------------------------ + * fixed defaultBaseURL did not show up installer. Thanks to onli. + Follow up from c292bad + * fixed draft & future entries preview link in backend * Improved karmarating plugin to be able to use AJAX calls diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 9c6fe4c1..e147f865 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -213,6 +213,7 @@ function serendipity_query_default($optname, $default, $usertemplate = false, $t case 'serendipityHTTPPath': return rtrim(dirname($_SERVER['PHP_SELF']), '/') .'/'; + case 'defaultBaseURL': case 'baseURL': $ssl = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'; $port = $_SERVER['SERVER_PORT'];