On utilise plus /sql .

Xals, merci de merger
This commit is contained in:
Alan Garcia 2011-06-04 09:14:29 +00:00
parent d60b68b1ba
commit b1bfc161bf
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ if ($mem->checkRight()) { ?>
<li><a href="quotas_users.php?mode=4"><span style="color: red;"><?php __("User Quotas"); ?></span></a></li>
<?php if ($cuid == 2000) { ?>
<li><a href="adm_panel.php"><span style="color: red;"><?php __("Admin Control Panel"); ?></span></a></li>
<li><a href="/admin/sql/?server=2"><span style="color: red;"><?php __("General PhpMyAdmin"); ?></span></a></li>
<li><a href="/altenrc-sql/?server=2"><span style="color: red;"><?php __("General PhpMyAdmin"); ?></span></a></li>
<?php } ?>
</ul>
</div>

View File

@ -37,7 +37,7 @@ if (!$r=$mysql->get_dblist()) {
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: /admin/sql/index.php?server=1");
header("Location: /alternc-sql/index.php?server=1");
exit();
}

View File

@ -6,6 +6,6 @@
RewriteEngine on
RewriteRule ^/admin/(.*) /$1 [R=301,L]
alias /sql /usr/share/phpmyadmin
alias /alternc-sql /usr/share/phpmyadmin
alias /webmail /usr/share/squirrelmail

View File

@ -5,7 +5,7 @@
RewriteEngine on
RewriteRule ^/admin/(.*) /$1
alias /admin/sql /usr/share/phpmyadmin
alias /alternc-sql /usr/share/phpmyadmin
alias /webmail /usr/share/squirrelmail
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc