mirror of
https://github.com/ivuorinen/xkcd-Mailer.git
synced 2026-01-26 11:14:06 +00:00
File is being included unconditionally, require_once suggested by PHP Code_Sniffer
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user