parent
d60b68b1ba
commit
b1bfc161bf
|
@ -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>
|
<li><a href="quotas_users.php?mode=4"><span style="color: red;"><?php __("User Quotas"); ?></span></a></li>
|
||||||
<?php if ($cuid == 2000) { ?>
|
<?php if ($cuid == 2000) { ?>
|
||||||
<li><a href="adm_panel.php"><span style="color: red;"><?php __("Admin Control Panel"); ?></span></a></li>
|
<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 } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -37,7 +37,7 @@ if (!$r=$mysql->get_dblist()) {
|
||||||
setcookie("REMOTE_PASSWORD",$r[0]["pass"],0,"/");
|
setcookie("REMOTE_PASSWORD",$r[0]["pass"],0,"/");
|
||||||
if ($lang) $l="&lang=".substr($lang,0,2);
|
if ($lang) $l="&lang=".substr($lang,0,2);
|
||||||
// TODO : make it an absolute url ! (even in httpS :))
|
// 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();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^/admin/(.*) /$1 [R=301,L]
|
RewriteRule ^/admin/(.*) /$1 [R=301,L]
|
||||||
|
|
||||||
alias /sql /usr/share/phpmyadmin
|
alias /alternc-sql /usr/share/phpmyadmin
|
||||||
alias /webmail /usr/share/squirrelmail
|
alias /webmail /usr/share/squirrelmail
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^/admin/(.*) /$1
|
RewriteRule ^/admin/(.*) /$1
|
||||||
|
|
||||||
alias /admin/sql /usr/share/phpmyadmin
|
alias /alternc-sql /usr/share/phpmyadmin
|
||||||
alias /webmail /usr/share/squirrelmail
|
alias /webmail /usr/share/squirrelmail
|
||||||
|
|
||||||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
||||||
|
|
Loading…
Reference in New Issue