Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b582aa

Browse files
incorporated requested changes
uses proper version number format, shortens the request key name for showing phpinfo to just `pi`
1 parent 50994e5 commit 0b582aa

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
@@ -27,7 +27,7 @@
2727
if (function_exists('date_default_timezone_set')) date_default_timezone_set('UTC');#required by PHP 5.1+
2828

2929
//constants
30-
$VERSION='1.9.170313';
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);
@@ -101,7 +101,7 @@
101101
if (db_connect('nodie')){
102102
$time_start=microtime_float();
103103

104-
if ($_REQUEST['showphpinfo']){
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="?showphpinfo=1">phpinfo</a>
464+
| <a href="?pi=1">phpinfo</a>
465465
</div>
466466

467467
<div class="err"><?php eo($err_msg)?></div>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /