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