aboutsummaryrefslogtreecommitdiff
path: root/p/ext.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-10-05 12:38:13 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-10-05 12:38:13 +0200
commit5a9b08e084b376af9b65699f9868d66a46f8c170 (patch)
tree429f83158b072a6608e33ec2eb8cae76c6102b57 /p/ext.php
parentfebabccdd5e6db573ab80bd5c1758d136b91cd78 (diff)
Primitive extension system: minor change
https://github.com/marienfressinaud/FreshRSS/issues/252
Diffstat (limited to 'p/ext.php')
-rw-r--r--p/ext.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/p/ext.php b/p/ext.php
index cff194343..a1dde2f93 100644
--- a/p/ext.php
+++ b/p/ext.php
@@ -20,6 +20,9 @@ if (isset($_GET['j'])) {
header('Content-Type: text/css; charset=UTF-8');
header('Content-Disposition: inline; filename="style.css"');
$filename .= 'style.css';
+} else {
+ header('HTTP/1.1 400 Bad Request');
+ die();
}
$mtime = @filemtime($filename);