Fix check for upload size
This commit is contained in:
@ -27,7 +27,7 @@ if (empty($filename = trim($_GET['fnam'], " ,./"))) {
|
||||
$csv_datei = MD_STD::realpath(__DIR__ . '/../csv/' . $filename);
|
||||
|
||||
if (is_dir(__DIR__ . "/../xml")) rrmdir(__DIR__ . '/../xml');
|
||||
mkdir(__DIR__ . "/../xml", 0755);
|
||||
mkdir(__DIR__ . "/../xml", CACHE_DIR_PERMS);
|
||||
|
||||
if (!($fp = fopen($csv_datei, 'r'))) {
|
||||
throw new MDmainEntityNotExistentException("Failed opening file");
|
||||
|
Reference in New Issue
Block a user