Skip to content

Commit c730666

Browse files
committed
disable warning messages on @set_time_limit for hosting providers disabled the function for security reasons
1 parent d87f625 commit c730666

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

phpminiadmin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
date_default_timezone_set('UTC');#required by PHP 5.1+
2525

2626
//constants
27-
$VERSION='1.8.120510';
27+
$VERSION='1.8.120514';
2828
$MAX_ROWS_PER_PAGE=50; #max number of rows in select per one page
2929
$D="\r\n"; #default delimiter for export
3030
$BOM=chr(239).chr(187).chr(191);
@@ -819,7 +819,7 @@ function do_export(){
819819

820820
function do_export_table($t='',$isvar=0,$MAXI=838860){
821821
global $D;
822-
set_time_limit(600);
822+
@set_time_limit(600);
823823

824824
if($_REQUEST['s']){
825825
$sth=db_query("show create table `$t`");
@@ -949,7 +949,7 @@ function do_import(){
949949

950950
// multiple SQL statements splitter
951951
function do_multi_sql($insql,$fname=''){
952-
set_time_limit(600);
952+
@set_time_limit(600);
953953

954954
$sql='';
955955
$ochar='';

0 commit comments

Comments
 (0)