mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#12751 fixed vul
This commit is contained in:
parent
babd228ae0
commit
9b57534f2a
@ -262,8 +262,10 @@ if ($filemanager) {
|
||||
$contentFile = str_replace("\n", "\r\n", $contentFile);
|
||||
}
|
||||
|
||||
if (empty($location_file) === false && file_exists($location_file) === true) {
|
||||
$result = file_put_contents($location_file, $contentFile);
|
||||
}
|
||||
}
|
||||
|
||||
$id_plugin = (int) get_parameter('id_plugin', 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user