From 88d3d1d7cd3efb77fa43fa03e6cde0c6c3dba117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Fri, 20 Nov 2020 17:38:23 +0300 Subject: [PATCH] We don't need another slash --- 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 71eb2e3e3..5b17b49d1 100644 --- a/src/bb-load.php +++ b/src/bb-load.php @@ -224,7 +224,7 @@ if(!file_exists($configPath) || 0 == filesize( $configPath )) { @file_put_contents($configPath, ''); $base_url = "http://".$_SERVER['HTTP_HOST']; - $base_url .= preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME'])).'/'; + $base_url .= preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME'])); $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);