From d0c0771de0ec042cfd8fe9a0697fe84278277ef9 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 19 Jul 2008 07:31:22 +0000 Subject: [PATCH] mooRainbow.css only if needed --- libraries/header_meta_style.inc.php | 4 ++++ main.php | 1 + 2 files changed, 5 insertions(+) diff --git a/libraries/header_meta_style.inc.php b/libraries/header_meta_style.inc.php index 4ff871142..96183fce2 100644 --- a/libraries/header_meta_style.inc.php +++ b/libraries/header_meta_style.inc.php @@ -46,6 +46,10 @@ if ($GLOBALS['text_dir'] == 'ltr') { } ?> + + diff --git a/main.php b/main.php index da7c0ef34..d14793a9a 100644 --- a/main.php +++ b/main.php @@ -8,6 +8,7 @@ /** * Gets some core libraries and displays a top message if required */ +define('PMA_MOORAINBOW', true); require_once './libraries/common.inc.php'; $GLOBALS['js_include'][] = 'mootools.js'; $GLOBALS['js_include'][] = 'mooRainbow/mooRainbow.js';