Translated using Weblate (Turkish)
[phpmyadmin.git] / phpmyadmin.css.php
blob5193cccfe6c614eeb95655ee03ca27161985a648
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Main stylesheet loader
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\OutputBuffering;
11 use PhpMyAdmin\ThemeManager;
13 /**
17 define('PMA_MINIMUM_COMMON', true);
18 require_once 'libraries/common.inc.php';
21 $buffer = OutputBuffering::getInstance();
22 $buffer->start();
23 register_shutdown_function(
24 function () {
25 echo OutputBuffering::getInstance()->getContents();
29 // Send correct type:
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();