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 5696626

Browse files
authored
Merge pull request #30 from JustinStolle/patch-1
Rename Querystring Key for `phpinfo`
2 parents 08e9439 + 0b582aa commit 5696626

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.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);
@@ -101,7 +101,7 @@
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>

0 commit comments

Comments
(0)

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