Permalink
Browse files

Added additional !is_admin check to be sure not to resend headers on …

…admin pages.
  • Loading branch information...
jeremyclark13 committed Jul 30, 2011
1 parent 6e04bdf commit 0328facc6a2106cefceebb54cc98ff9b0fef1170
Showing with 1 addition and 1 deletion.
  1. +1 −1 style.php
View
@@ -3,7 +3,7 @@
This file pulls the css from the database
Styles are generated by the options/css-build.php file
***********************************************/
- if(!headers_sent()) {
+ if(!headers_sent() & !is_admin()) {
header('Content-type: text/css');
header("Cache-Control: must-revalidate");
$offset = 72000 ;

0 comments on commit 0328fac

Please sign in to comment.