Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2007-09-02 16:39:22 +0400
committerMarc Delisle <marc@infomarc.info>2007-09-02 16:39:22 +0400
commitf53ba525c1f13000151e1ebb53d0ba49bac092bb (patch)
tree6dee45939c6955de3c15393c11808dad3bfe4b83 /phpmyadmin.css.php
parentf0f97fefc6b64fde1c793c6f85eaab7de5fbcf4c (diff)
bug #1780098 Logout causes CSS loss
Diffstat (limited to 'phpmyadmin.css.php')
-rw-r--r--phpmyadmin.css.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpmyadmin.css.php b/phpmyadmin.css.php
index 543ad5664e..70a6b05ae7 100644
--- a/phpmyadmin.css.php
+++ b/phpmyadmin.css.php
@@ -8,6 +8,9 @@
/**
*
*/
+// sometimes, we lose $_REQUEST['js_frame']
+define('PMA_FRAME',empty($_REQUEST['js_frame']) ? 'right' : $_REQUEST['js_frame']);
+
define('PMA_MINIMUM_COMMON', true);
require_once './libraries/common.inc.php';
require_once './libraries/sqlparser.lib.php';
@@ -790,5 +793,5 @@ body.loginform div.container {
<?php
} // end styles 2.9
-$_SESSION['PMA_Theme_Manager']->printCss($_REQUEST['js_frame']);
+$_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME);
?>