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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user