removed filesize limitation to web-based lead loader
git-svn-id: svn://192.168.202.10@862 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -787,7 +787,7 @@ function ParseFileName() {
|
||||
print "<script language='JavaScript1.2'>document.forms[0].leadfile.disabled=false; document.forms[0].submit_file.disabled=false; document.forms[0].reload_page.disabled=false;</script>";
|
||||
}
|
||||
|
||||
if ($leadfile && filesize($LF_path)<=8388608) {
|
||||
#if ($leadfile && filesize($LF_path)<=8388608) {
|
||||
$total=0; $good=0; $bad=0; $dup=0; $post=0; $phone_list='';
|
||||
if ($file_layout=="standard") {
|
||||
|
||||
@@ -1454,9 +1454,9 @@ if ($leadfile && filesize($LF_path)<=8388608) {
|
||||
# }
|
||||
print "<script language='JavaScript1.2'>document.forms[0].leadfile.disabled=false; document.forms[0].submit_file.disabled=false; document.forms[0].reload_page.disabled=false;</script>";
|
||||
}
|
||||
} else if (filesize($leadfile)>8388608) {
|
||||
print "<center><font face='arial, helvetica' size=3 color='#990000'><B>ERROR: File exceeds the 8MB limit.</B></font></center>";
|
||||
}
|
||||
#} else if (filesize($leadfile)>8388608) {
|
||||
# print "<center><font face='arial, helvetica' size=3 color='#990000'><B>ERROR: File exceeds the 8MB limit.</B></font></center>";
|
||||
#}
|
||||
?>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user