summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
Diffstat (limited to 'application/views')
-rw-r--r--application/views/file/html_header.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php
index 9022f54e0..d933d65d3 100644
--- a/application/views/file/html_header.php
+++ b/application/views/file/html_header.php
@@ -2,8 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title; ?></title>
- <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste.css"); ?>" />
- <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste-$current_highlight.css"); ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste.css"); ?>" />
+<?php if (file_exists(FCPATH."/data/paste-$current_highlight.css")) {?>
+ <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste-$current_highlight.css"); ?>" />
+<?php } ?>
</head>
<body>
<div class="top_bar">