mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 02:08:57 +00:00
Move IRCScraoer into misc/testing folder
This commit is contained in:
+2
-2
@@ -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.');
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user