Move IRCScraoer into misc/testing folder

This commit is contained in:
Darko
2015-07-31 12:26:32 +02:00
parent 9f0b3036c9
commit fa5b06eb2e
7 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
<?php
require_once(dirname(__FILE__) . "/../../bin/config.php");
require_once dirname(__FILE__) . '/../../../www/config.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);
@@ -18,7 +18,7 @@ if (!isset($argv[1]) || $argv[1] !== 'true') {
);
}
require_once (NN_TMUX . 'lib' . DS . 'IRCScraper' .DS . 'settings.php');
require_once (NN_MISC . 'testing' . DS . 'IRCScraper' .DS . 'settings.php');
if (!defined('SCRAPE_IRC_NICKNAME')) {
exit('ERROR! You must update settings.php using settings_example.php.');
+1 -1
View File
@@ -680,7 +680,7 @@ class TmuxRun extends Tmux
if (shell_exec("tmux list-panes -t{$runVar['constants']['tmux_session']}:${pane} | grep ^0 | grep -c dead") == 1) {
shell_exec(
"tmux respawnp -t{$runVar['constants']['tmux_session']}:${pane}.0 ' \
{$runVar['commands']['_phpn']} {$runVar['paths']['misc']}update_scripts/nix_scripts/tmux/lib//IRCScraper/scrape.php true'"
{$runVar['commands']['_phpn']} {$runVar['paths']['misc']}testing/IRCScraper/scrape.php true'"
);
}
} else {