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);