From 5370d94bacbe1591be686ff4f73ba085ee2a9a5e Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sun, 25 May 2014 17:10:41 +0300 Subject: [PATCH] File is being included unconditionally, require_once suggested by PHP Code_Sniffer --- xkcd-mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkcd-mailer.php b/xkcd-mailer.php index 576fb2e..4409be4 100644 --- a/xkcd-mailer.php +++ b/xkcd-mailer.php @@ -18,7 +18,7 @@ if (! is_readable($here . '/config.php')) { die("Please configure me. I don't know where I should sent the comic. (Config file {$here}/config.php missing.)"); } - include_once($here . '/config.php'); + require_once $here . '/config.php'; $feed = "http://xkcd.com/atom.xml";