Translated using Weblate (Slovenian)
[phpmyadmin.git] / phpmyadmin.css.php
blob0bfec39c5b6c7ba573b1b5ba9c6f7a0d7572208e
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Main stylesheet loader
6 * @package PhpMyAdmin
7 */
8 use PMA\libraries\OutputBuffering;
10 /**
14 define('PMA_MINIMUM_COMMON', true);
15 require_once 'libraries/common.inc.php';
18 $buffer = OutputBuffering::getInstance();
19 $buffer->start();
20 register_shutdown_function(
21 function () {
22 echo OutputBuffering::getInstance()->getContents();
26 // Send correct type:
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();