mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-27 20:17:58 -05:00
Generate base_url during installation
See https://github.com/FreshRSS/FreshRSS/issues/865
This commit is contained in:
@@ -212,8 +212,11 @@ function saveStep3() {
|
||||
$_SESSION['bd_prefix_user'] = $_SESSION['bd_prefix'] . (empty($_SESSION['default_user']) ? '' : ($_SESSION['default_user'] . '_'));
|
||||
}
|
||||
|
||||
// We use dirname to remove the /i part
|
||||
$base_url = dirname(Minz_Request::guessBaseUrl());
|
||||
$config_array = array(
|
||||
'salt' => $_SESSION['salt'],
|
||||
'base_url' => $base_url,
|
||||
'title' => $_SESSION['title'],
|
||||
'default_user' => $_SESSION['default_user'],
|
||||
'auth_type' => $_SESSION['auth_type'],
|
||||
|
||||
Reference in New Issue
Block a user