Commit Graph
12 Commits
Author SHA1 Message Date
Adam Daley b08fc53d72 Update rewrite rules, improve error handling, and some related cleanup (#1075)
* Rename htaccess to be applied automatically

Rename the htaccess file, improve handling when .htaccess is missing, and remove from .gitignore so that rules are automatically applied on supported web servers.

* Clean up .gitignore file

* Update .htaccess to improve security

Update .htaccess file to improve general security, handle missing mod_rewrite, and to simplify the required rules.

* Improve HTTP and generic error handling

Improve handling of HTTP errors, and make the error handling code more generic to permit catching more errors.

* Remove outdated example web server config files

Remove the outdated and unmaintained example web server configuration files in favour of FOSSBilling/config-generator.

* Remove support for non-search engine friendly URLs

Remove support for non-search engine friendly URLs as these are depreciated.

* Revert "Remove support for non-search engine friendly URLs"

This reverts commit 724b1eb274.

* Update config migration backup handling
2023-04-06 21:59:25 +02:00
Belle Aerni 5516a81b9d Fix a few warnings with PHP 8.1 (#1003)
As the tin says. Just fixes a couple instances where warnings would be thrown because `null` was being passed
2023-03-28 00:05:26 +01:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
Benjamin Aerni 42d197568e Apply PHP CS Fixer 2022-11-02 12:00:10 -06:00
tautvydaskarvelis 86d6234208 Improved code style by adding missing return types, replacing funcs with more reliable ones and etc 2022-10-02 17:52:30 +03:00
S4 Hosting b5427fdd46 Copyright and license notices changed to correctly comply with Apache 2.0 2022-05-31 14:51:44 +03:00
andpavlenko f4c4f6bac7 Mirgate to PSR12 and other small fixes 2022-04-01 09:32:55 +00:00
Benjamin Aerni 6cc85ddbbc Fix copyright URL (#1018)
* Update copyright URL to https://www.boxbilling.org

* I don't know the exact copyright of this file, but we definitely don't own it
2021-08-30 19:20:13 -07:00
Vaidas Lungis 36172e157b change di['translate']('admin') to di['translate']() 2015-02-26 15:33:15 +02:00
Vaidas Lungis ea63214808 update admin_prefix check
check only first characters of _url param value.

issues were when admin_prefix was "admin"
2015-02-13 16:17:12 +02:00
Vaidas Lungis a57d9f7092 reworked translation implementation
translation object added into DI
issue #207
2015-01-15 18:26:30 +02:00
fordnox 5af4cc20d9 Initial release 2014-11-03 09:00:47 +02:00