simple-file-manager
simple-file-manager copied to clipboard
PHP 7 has been discontinued
https://www.php.net/releases/index.php "Support for PHP 7 has been discontinued since 03 Nov 2022.Please consider upgrading to 8."
Upgrading to php 8.xx cause the following errors:
Warning: Undefined array key "file" in /files/index.php on line 43
Warning: Undefined array key "file" in /files/index.php on line 49
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /files/index.php on line 49
Warning: Undefined array key "file" in /files/index.php on line 60
Warning: Undefined array key "do" in /files/index.php on line 61
Warning: Undefined array key "do" in /files/index.php on line 87
Warning: Undefined array key "do" in /files/index.php on line 92
Warning: Undefined array key "do" in /files/index.php on line 101
Warning: Undefined array key "do" in /files/index.php on line 111
Bit Googling around and it looks like passing to NULL is just no longer a thing and "Undefined array key" was updated from a notice to warning.
PR #132 fixes the issues.