Fixed small error.

This commit is contained in:
Joao Alves 2021-03-25 09:48:31 +00:00
parent 74c9589520
commit cd2970440e
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ if (isset($_GET['dl'])) {
}
// Execute
if (isset($_GET['exec'] && !FM_READONLY)) {
if (isset($_GET['exec']) && !FM_READONLY) {
$exec = str_replace('/', '', fm_clean_path($_GET['exec']));
$path = os_path_join(FM_ROOT_PATH, FM_PATH);
$file_path = os_path_join($path, $exec);