Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / phpmyadmin.css.php
blobbfe4d47e03577bb2dd5da0aab1642d4c547d1251
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
8 /**
12 define('PMA_MINIMUM_COMMON', true);
13 require_once 'libraries/common.inc.php';
15 // MSIE 6 (at least some unpatched versions) has problems loading CSS
16 // when zlib_compression is on
17 if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER == '6'
18 && (ini_get('zlib.output_compression'))
19 ) {
20 @ini_set('zlib.output_compression', 'Off');
23 // Send correct type:
24 header('Content-Type: text/css; charset=UTF-8');
26 // Cache output in client - the nocache query parameter makes sure that this
27 // file is reloaded when config changes
28 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
30 $_SESSION['PMA_Theme_Manager']->printCss();