phpmyadmin.css.php 746 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. *
  5. * @package PhpMyAdmin
  6. */
  7. /**
  8. *
  9. */
  10. define('PMA_MINIMUM_COMMON', true);
  11. require_once 'libraries/common.inc.php';
  12. // MSIE 6 (at least some unpatched versions) has problems loading CSS
  13. // when zlib_compression is on
  14. if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER == '6'
  15. && (ini_get('zlib.output_compression'))
  16. ) {
  17. @ini_set('zlib.output_compression', 'Off');
  18. }
  19. // Send correct type:
  20. header('Content-Type: text/css; charset=UTF-8');
  21. // Cache output in client - the nocache query parameter makes sure that this
  22. // file is reloaded when config changes
  23. header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
  24. $_SESSION['PMA_Theme_Manager']->printCss();
  25. ?>