From ed477440787b92b56edde4c337f4e2d30fc61eb0 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 8 Nov 2012 19:57:31 +0000 Subject: [PATCH] Fix #1366 --- bureau/admin/menu_adm.php | 2 +- bureau/admin/sql_admin.php | 2 +- bureau/admin/sql_getparam.php | 4 ++-- etc/alternc/phpmyadmin.inc.php | 25 +++++++++++++++++-------- 4 files changed, 21 insertions(+), 12 deletions(-) diff --git a/bureau/admin/menu_adm.php b/bureau/admin/menu_adm.php index 543875a1..5d1f6bdc 100644 --- a/bureau/admin/menu_adm.php +++ b/bureau/admin/menu_adm.php @@ -38,7 +38,7 @@ if ($mem->checkRight()) { ?>
  • -
  • +
  • ">status) __("Switch debug Off"); else __("Switch debug On"); ?>
  • diff --git a/bureau/admin/sql_admin.php b/bureau/admin/sql_admin.php index 4e4f7609..567acd1e 100644 --- a/bureau/admin/sql_admin.php +++ b/bureau/admin/sql_admin.php @@ -37,7 +37,7 @@ if (!$r=$mysql->php_myadmin_connect()) { setcookie("REMOTE_PASSWORD",$r[0]["pass"],0,"/"); if ($lang) $l="&lang=".substr($lang,0,2); // TODO : make it an absolute url ! (even in httpS :)) - header("Location: /alternc-sql/index.php?server=1"); + header("Location: /alternc-sql/index.php?server=3"); exit(); } diff --git a/bureau/admin/sql_getparam.php b/bureau/admin/sql_getparam.php index d315fc78..ed3f7fc0 100644 --- a/bureau/admin/sql_getparam.php +++ b/bureau/admin/sql_getparam.php @@ -73,9 +73,9 @@ if(isset($r['user'])){ - +
    - http://<?php echo $L_FQDN; ?>/alternc-sql/?server=2 + http://<?php echo $L_FQDN; ?>/alternc-sql/