mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
minor change
This commit is contained in:
parent
a0c311c110
commit
a69f3eb0dc
@ -87,8 +87,6 @@ $create_text_file = (bool) get_parameter('create_text_file');
|
|||||||
|
|
||||||
$default_real_directory = realpath($config['homedir'].'/');
|
$default_real_directory = realpath($config['homedir'].'/');
|
||||||
|
|
||||||
$_FILES['file']['name'] = '../test3.jpeg';
|
|
||||||
|
|
||||||
// Remove double dot in filename path.
|
// Remove double dot in filename path.
|
||||||
$file_name = $_FILES['file']['name'];
|
$file_name = $_FILES['file']['name'];
|
||||||
$path_parts = explode('/', $file_name);
|
$path_parts = explode('/', $file_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user