1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-08-01 06:21:05 +02:00

Update tinyfilemanager.php

This change solves several bug:

1) FM_EDIT_FILE constant not defined, I added to solve this line:

define('FM_EDIT_FILE', $edit_files);

2) Html Validation issue: acion="" cannot be empty. I replaced all action="" with:

action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>"

3) Login Form contains a lot of HTML + PHP + JS not used and then produces php notice. I solved adding two news header and footer login which are basic HTML + CSS

fm_show_header_login();

and

fm_show_footer_login();

This solves several issue due to unused HTML + PHP + JS elements.
This commit is contained in:
Alessandro Marinuzzi
2017-11-06 12:48:05 +01:00
committed by GitHub
parent a46b93a5fe
commit be1288ac60

File diff suppressed because one or more lines are too long