File is being included unconditionally, require_once suggested by PHP Code_Sniffer

This commit is contained in:
Ismo Vuorinen
2014-05-25 17:10:41 +03:00
parent 04f1699601
commit 5370d94bac

View File

@@ -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";