2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Main stylesheet loader
8 use PhpMyAdmin\OutputBuffering
;
9 use PhpMyAdmin\ThemeManager
;
15 define('PMA_MINIMUM_COMMON', true);
16 require_once 'libraries/common.inc.php';
19 $buffer = OutputBuffering
::getInstance();
21 register_shutdown_function(
23 echo OutputBuffering
::getInstance()->getContents();
28 header('Content-Type: text/css; charset=UTF-8');
30 // Cache output in client - the nocache query parameter makes sure that this
31 // file is reloaded when config changes
32 header('Expires: ' . gmdate('D, d M Y H:i:s', time() +
3600) . ' GMT');
34 ThemeManager
::getInstance()->printCss();