Shish
8b20fa3bc2
Add preg_replace_ex
...
having preg_replace return string|array|null is a pain, string|exception is much cleaner
2024-08-31 19:56:27 +01:00
Shish
e80d235fe9
[core] use Safe library, reduce StdLibEx
2024-02-20 10:38:20 +00:00
Shish
78aaff5c8f
[misc] permission updates
2024-02-10 23:32:50 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
b60c3fe362
[core] a load more type hints, and fix bugs revealed by type hints
2024-01-20 14:11:00 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
9b463ce674
text
2023-03-30 21:27:12 +00:00
Shish
46f75f7b34
[static] allow extensions to customise robots.txt
2023-03-30 20:36:58 +01:00
Shish
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00:00
Shish
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Matthew Barbour
63b2601e67
Mime type handling overhaul
...
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
e1e161759e
rename handle_static to static_files - stop confusing it with file handlers
2020-02-23 18:48:25 +00:00