bug #1501891, undefined function PMA_isSuperuser
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-06-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/header.inc.php: bug #1501891, undefined PMA_isSuperuser() when
|
||||||
|
the default server is 0
|
||||||
|
|
||||||
2006-06-06 Marc Delisle <lem9@users.sourceforge.net>
|
2006-06-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html: various fixes, thanks to Cedric Corazza
|
* Documentation.html: various fixes, thanks to Cedric Corazza
|
||||||
|
|
||||||
|
@@ -50,7 +50,8 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
(!empty($GLOBALS['cfg']['Server']['host']) ? $GLOBALS['cfg']['TitleServer'] :
|
(!empty($GLOBALS['cfg']['Server']['host']) ? $GLOBALS['cfg']['TitleServer'] :
|
||||||
$GLOBALS['cfg']['TitleDefault']))
|
$GLOBALS['cfg']['TitleDefault']))
|
||||||
);
|
);
|
||||||
$is_superuser = PMA_isSuperuser();
|
// here, the function does not exist with this configuration: $cfg['ServerDefault'] = 0;
|
||||||
|
$is_superuser = function_exists('PMA_isSuperuser') && PMA_isSuperuser();
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript" language="javascript">
|
||||||
<!--
|
<!--
|
||||||
|
Reference in New Issue
Block a user