mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
require_once(dirname(__FILE__)."/../../bin/config.php");
|
||||
require_once(dirname(__FILE__) . "/../../bin/config.php");
|
||||
require_once(dirname(__FILE__) . "/../IRCScraper.php");
|
||||
|
||||
if (!is_file(NN_TMUX . 'lib' . DS . 'IRCScraper' .DS . 'settings.php')) {
|
||||
if (!is_file(NN_TMUX . 'lib' . DS . 'IRCScraper' . DS . 'settings.php')) {
|
||||
exit('Copy settings_example.php to settings.php and change the settings.' . PHP_EOL);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ if (!isset($argv[1]) || $argv[1] !== 'true') {
|
||||
);
|
||||
}
|
||||
|
||||
require_once (NN_TMUX . 'lib' . DS . 'IRCScraper' .DS . 'settings.php');
|
||||
require_once (NN_TMUX . 'lib' . DS . 'IRCScraper' . DS . 'settings.php');
|
||||
|
||||
if (!defined('SCRAPE_IRC_NICKNAME')) {
|
||||
exit('ERROR! You must update settings.php using settings_example.php.');
|
||||
|
||||
Reference in New Issue
Block a user