File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727if (function_exists ('date_default_timezone_set ' )) date_default_timezone_set ('UTC ' );#required by PHP 5.1+
2828
2929//constants
30- $ VERSION ='1.9.170312 ' ;
30+ $ VERSION ='1.9.170703 ' ;
3131 $ MAX_ROWS_PER_PAGE =50 ; #max number of rows in select per one page
3232 $ D ="\r\n" ; #default delimiter for export
3333 $ BOM =chr (239 ).chr (187 ).chr (191 );
101101 if (db_connect ('nodie ' )){
102102 $ time_start =microtime_float ();
103103
104- if ($ _REQUEST ['phpinfo ' ]){
104+ if ($ _REQUEST ['pi ' ]){
105105 ob_start ();phpinfo ();$ html =ob_get_clean ();preg_match ("/<body[^>]*>(.*?)<\/body>/is " ,$ html ,$ m );
106106 $ sqldr ='<div class="pi"> ' .$ m [1 ].'</div> ' ;
107107 }else {
@@ -461,7 +461,7 @@ function sht(f){
461461 | <a href="?showcfg=1">Settings</a>
462462<?php } ?>
463463<?php if ($ _SESSION ['is_logged ' ]){?> | <a href="?<?php eo ($ xurl )?> &logoff=1" onclick="logoff()">Logoff</a> <?php }?>
464- | <a href="?phpinfo =1">phpinfo</a>
464+ | <a href="?pi =1">phpinfo</a>
465465</div>
466466
467467<div class="err"><?php eo ($ err_msg )?> </div>
You can’t perform that action at this time.
0 commit comments