Merge pull request #146 from soul9/fix_pma_sso
latest security update of phpmyadmin (on wheezy) seems to have disabled the index.php, forcing the browser to go there directly
This commit is contained in:
commit
957098327c
|
@ -38,7 +38,7 @@ if (!$r=$mysql->php_myadmin_connect()) {
|
||||||
$_SESSION['PMA_single_signon_host'] = $r["host"]; // pma >= 2.11
|
$_SESSION['PMA_single_signon_host'] = $r["host"]; // pma >= 2.11
|
||||||
session_write_close();
|
session_write_close();
|
||||||
// finally redirect to phpMyAdmin :
|
// finally redirect to phpMyAdmin :
|
||||||
header("Location: /alternc-sql/");
|
header("Location: /alternc-sql/index.php");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue