From 9b17d59de2d96b6f583ef39fb967eb30ba86239f Mon Sep 17 00:00:00 2001 From: bgokcol Date: Fri, 27 Nov 2020 18:22:31 +0300 Subject: [PATCH] Fix wrong path for installation redirect --- src/bb-load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-load.php b/src/bb-load.php index 9d5d19445..f71f7d4ff 100644 --- a/src/bb-load.php +++ b/src/bb-load.php @@ -231,7 +231,7 @@ if(!file_exists($configPath) || 0 == filesize($configPath)) { $base_url = "http://".$_SERVER['HTTP_HOST']; $base_url .= preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME'])); - $url = $base_url . 'install/index.php'; + $url = $base_url . '/install/index.php'; $configFile = pathinfo($configPath, PATHINFO_BASENAME); $msg = sprintf("The $configFile path seems to be invalid. You may have not generated the configuration file yet, or the configuration file may not contain the required configuration parameters. BoxBilling needs to have a valid configuration file present in order to function properly.

Need some help with the installation? We got it. You can create the configuration file using the interactive installer, or manually create the configuration file.

If it's your first time setting up BoxBilling, you can continue with the web-based interactive BoxBilling installation.", $url); throw new Exception($msg, 101);