mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Fix references to site.
This commit is contained in:
@@ -9,7 +9,6 @@ $DIR = NN_TMUX;
|
||||
$c = new ColorCLI();
|
||||
$t = new Tmux();
|
||||
$tmux = $t->get();
|
||||
$patch = (isset($tmux->sqlpatch)) ? $tmux->sqlpatch : 0;
|
||||
$import = (isset($tmux->import)) ? $tmux->import : 0;
|
||||
$tmux_session = (isset($tmux->tmux_session)) ? $tmux->tmux_session : 0;
|
||||
$seq = (isset($tmux->sequential)) ? $tmux->sequential : 0;
|
||||
@@ -19,6 +18,8 @@ $nntpproxy = $pdo->getSetting('nntpproxy');
|
||||
$tablepergroup = $pdo->getSetting('tablepergroup');
|
||||
$tablepergroup = ($tablepergroup != '') ? $tablepergroup : 0;
|
||||
|
||||
// Check that Db patch level is current. Also checks nZEDb.xml is valid.
|
||||
Utility::isPatched();
|
||||
Utility::clearScreen();
|
||||
|
||||
echo "Starting Tmux...\n";
|
||||
@@ -33,11 +34,6 @@ if (count($nntpkill) !== 0) {
|
||||
exec("tmux list-session", $session);
|
||||
}
|
||||
|
||||
// Check database patch version
|
||||
if ($patch < 121) {
|
||||
exit($c->error("\nYour database is not up to date. Please update.\nphp ${NN_WWW}lib/DB/patchDB.php\n"));
|
||||
}
|
||||
|
||||
//check if session exists
|
||||
$session = shell_exec("tmux list-session | grep $tmux_session");
|
||||
// Kill the placeholder
|
||||
|
||||
Reference in New Issue
Block a user