mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
Possible fix for IRCScraper window
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ require_once(dirname(__FILE__)."/../lib/showsleep.php");
|
||||
require_once(dirname(__FILE__)."/../lib/functions.php");
|
||||
|
||||
|
||||
$version="0.3r1046";
|
||||
$version="0.3r1047";
|
||||
|
||||
$db = new DB();
|
||||
$functions = new Functions();
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<?php
|
||||
require_once(dirname(__FILE__)."/../../bin/config.php");
|
||||
require_once(dirname(__FILE__).'/../Net_SmartIRC/Net/SmartIRC.php');
|
||||
require_once(dirname(__FILE__)."/../IRCScraper.php");
|
||||
require_once 'settings.php';
|
||||
|
||||
if (!is_file('settings.php')) {
|
||||
exit('Copy settings_example.php to settings.php and change the settings.' . PHP_EOL);
|
||||
@@ -24,11 +28,6 @@ if (!in_array($argv[1], array('efnet', 'cz'))) {
|
||||
exit('Error, must be efnet or cz, you typed: ' . $argv[1] . PHP_EOL);
|
||||
}
|
||||
|
||||
require_once(dirname(__FILE__)."/../../bin/config.php");
|
||||
require_once(dirname(__FILE__).'/../Net_SmartIRC/Net/SmartIRC.php');
|
||||
require_once(dirname(__FILE__)."/../IRCScraper.php");
|
||||
require_once 'settings.php';
|
||||
|
||||
if (!defined('SCRAPE_IRC_EFNET_NICKNAME') ||
|
||||
!defined('SCRAPE_IRC_CORRUPT_NICKNAME') ||
|
||||
!defined('SCRAPE_IRC_ZENET_NICKNAME')) {
|
||||
|
||||
Reference in New Issue
Block a user