|
|
|
@ -97,6 +97,10 @@ switch ($action) { |
|
|
|
$newUrlDir = api_get_path(SYS_PATH) . "home/admin/"; |
|
|
|
$newUrlDir = api_get_path(SYS_PATH) . "home/admin/"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!file_exists($newUrlDir)) { |
|
|
|
|
|
|
|
die; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!Security::check_abs_path("{$newUrlDir}{$blockName}_extra.html", $newUrlDir)) { |
|
|
|
if (!Security::check_abs_path("{$newUrlDir}{$blockName}_extra.html", $newUrlDir)) { |
|
|
|
die; |
|
|
|
die; |
|
|
|
} |
|
|
|
} |
|
|
|
|