From a9a0be57012ce23957e241de732079603a37700d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?CatFlip=E2=84=A2?= Date: Thu, 26 May 2022 16:06:08 -0500 Subject: [PATCH 1/8] Installer references Removed BoxBilling references in the installer. --- src/bb-load.php | 8 +++--- src/install/assets/install.html.twig | 34 +++++++++++------------ src/install/assets/layout.html.twig | 40 ++++++++++++++-------------- src/install/install.php | 8 +++--- 4 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/bb-load.php b/src/bb-load.php index b51ffdbe0..4a182cc6e 100644 --- a/src/bb-load.php +++ b/src/bb-load.php @@ -64,7 +64,7 @@ function handler_exception($e) $whoops = new \Whoops\Run(); $prettyPage = new \Whoops\Handler\PrettyPageHandler(); $prettyPage->setPageTitle('An error ocurred'); - $prettyPage->addDataTable('BoxBilling environment', [ + $prettyPage->addDataTable('FOSSBilling environment', [ 'PHP Version' => phpversion(), 'Error code' => $e->getCode(), ]); @@ -228,7 +228,7 @@ set_error_handler('handler_error'); // Check for Composer packages if (!file_exists(BB_PATH_VENDOR)) { - throw new Exception("It seems like Composer packages are missing. You have to run \"composer install\" in order to install them. For detailed instruction, you can see Composer's getting started guide.

If you have downloaded BoxBilling from GitHub releases, this shouldn't happen.", 110); + throw new Exception("It seems like Composer packages are missing. You have to run \"composer install\" in order to install them. For detailed instruction, you can see Composer's getting started guide.

If you have downloaded FOSSBilling from GitHub releases, this shouldn't happen.", 110); } // Multisite support. Load new configuration depending on the current hostname @@ -261,13 +261,13 @@ if (!file_exists($configPath) || 0 == filesize($configPath)) { } $configFile = pathinfo($configPath, PATHINFO_BASENAME); - $msg = sprintf("Your $configFile file seems to be invalid. It's possible that your preexisting configuration file may not contain the required configuration parameters or have become corrupted. BoxBilling needs to have a valid configuration file present in order to function properly.

Please use the example config as reference here. You may need to manually restore a old config file or fix your existing one.

"); + $msg = sprintf("Your $configFile file seems to be invalid. It's possible that your preexisting configuration file may not contain the required configuration parameters or have become corrupted. FOSSBilling needs to have a valid configuration file present in order to function properly.

Please use the example config as reference here. You may need to manually restore a old config file or fix your existing one.

"); throw new Exception($msg, 101); } // Try to check if /install directory still exists, even after the installation was completed if (file_exists($configPath) && 0 !== filesize($configPath) && file_exists(BB_PATH_ROOT.'/install/index.php')) { - throw new Exception('For safety reasons, you have to delete the /install directory to start using BoxBilling.

Please delete the /install directory from your web server.', 102); + throw new Exception('For safety reasons, you have to delete the /install directory to start using FOSSBilling.

Please delete the /install directory from your web server.', 102); } $config = require_once $configPath; diff --git a/src/install/assets/install.html.twig b/src/install/assets/install.html.twig index 8d1292403..bee8866b5 100644 --- a/src/install/assets/install.html.twig +++ b/src/install/assets/install.html.twig @@ -2,17 +2,17 @@ {% block left %}

-
BoxBilling installation
+
FOSSBilling installation
-

This setup will guide you through installation process of BoxBilling.

-

Check if your system meets minimum requirements to install and run BoxBilling.

+

This setup will guide you through installation process of FOSSBilling.

+

Check if your system meets minimum requirements to install and run FOSSBilling.

Database configuration
-

BoxBilling stores data in a SQL database. You should already have an existing database before this step. If you do not have database prepared, you should do that now.

+

FOSSBilling stores data in a SQL database. You should already have an existing database before this step. If you do not have database prepared, you should do that now.

Installer will create all required tables in your database after correct connection details are provided.

How to create a database?

Depending on your hosting provider database can be created in different ways.

@@ -23,7 +23,7 @@
Administrator account
-

This is the main user account to control all aspects of BoxBilling.

+

This is the main user account to control all aspects of FOSSBilling.

Email will be used to login to admin area.

Make sure password is strong.

@@ -32,15 +32,15 @@
Well done!
-

Thank you for choosing BoxBilling

+

Thank you for choosing FOSSBilling

Client area Admin area
-
Find us on Facebook
- +
Join our Discord Server
+
{% endblock %} @@ -53,13 +53,13 @@