2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Main stylesheet loader
8 use PMA\libraries\OutputBuffering
;
14 define('PMA_MINIMUM_COMMON', true);
15 require_once 'libraries/common.inc.php';
18 $buffer = OutputBuffering
::getInstance();
20 register_shutdown_function(
22 echo OutputBuffering
::getInstance()->getContents();
27 header('Content-Type: text/css; charset=UTF-8');
29 // Cache output in client - the nocache query parameter makes sure that this
30 // file is reloaded when config changes
31 header('Expires: ' . gmdate('D, d M Y H:i:s', time() +
3600) . ' GMT');
33 $_SESSION['PMA_Theme_Manager']->printCss();