1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Plugin script tests and PHP8 fixes.

This commit is contained in:
Cameron
2021-01-22 13:44:10 -08:00
parent 4b0edad459
commit acc1a9af0d
62 changed files with 799 additions and 1849 deletions

View File

@@ -33,7 +33,7 @@ class download_request
header("location: " . e_QUERY);
exit();
}
elseif(file_exists(e_DOWNLOAD . e_QUERY)) // 1 - should we allow this?
elseif(file_exists(e_DOWNLOAD . e_QUERY) && !is_dir(e_DOWNLOAD . e_QUERY)) // 1 - should we allow this?
{
e107::getFile()->send(e_DOWNLOAD . e_QUERY);
exit();