Update contact_import.php
This commit is contained in:
parent
f8eee50a62
commit
782edeca44
|
|
@ -72,7 +72,7 @@
|
|||
}
|
||||
|
||||
//copy the csv file
|
||||
if ($_POST['submit'] == "Upload" && is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('contact_upload')) {
|
||||
if ( is_uploaded_file($_FILES['ulfile']['tmp_name']) && permission_exists('contact_upload')) {
|
||||
if (check_str($_POST['type']) == 'csv') {
|
||||
move_uploaded_file($_FILES['ulfile']['tmp_name'], $_SESSION['server']['temp']['dir'].'/'.$_FILES['ulfile']['name']);
|
||||
$save_msg = "Uploaded file to ".$_SESSION['server']['temp']['dir']."/". htmlentities($_FILES['ulfile']['name']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue