adding validations while importing pm file
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
*/
|
||||
ini_set( 'max_execution_time', '0' );
|
||||
|
||||
if (isset($_FILES["PROCESS_FILENAME"])) {
|
||||
$ext = pathinfo($_FILES["PROCESS_FILENAME"]["name"], PATHINFO_EXTENSION);
|
||||
|
||||
if ($ext == "pmx") {
|
||||
@@ -57,6 +58,7 @@ if ($ext == "pmx") {
|
||||
echo json_encode($result);
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
function reservedWordsSqlValidate ($data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user