Possible fix for IRCScraper window

This commit is contained in:
Darko
2014-04-01 11:40:36 +02:00
parent 715cf1b9a9
commit 00a4c082e7
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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();
+4 -5
View File
@@ -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')) {