diff --git a/lib/DB/patches/0127~site.sql b/lib/DB/patches/0127~site.sql new file mode 100644 index 000000000..df4f824f3 --- /dev/null +++ b/lib/DB/patches/0127~site.sql @@ -0,0 +1,3 @@ +INSERT IGNORE INTO `site` (`setting`, `value`) VALUES +('request_url', 'http://reqid.newznab-tmux.pw/'); +UPDATE `tmux` SET `value` = '127' WHERE `setting` = 'sqlpatch'; \ No newline at end of file diff --git a/lib/copy_this/www/lib/TmuxOutput.php b/lib/copy_this/www/lib/TmuxOutput.php index f16b4734a..1ced98d06 100644 --- a/lib/copy_this/www/lib/TmuxOutput.php +++ b/lib/copy_this/www/lib/TmuxOutput.php @@ -117,7 +117,7 @@ class TmuxOutput extends Tmux $buffer = ''; $state = ($this->runVar['settings']['is_running'] == 1) ? 'Running' : 'Disabled'; //$version = $this->_tvers . 'r' . $this->_vers; - $tversion = '0.6r0169'; + $tversion = '0.6r0171'; $buffer .= sprintf($this->tmpMasks[2], "Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ", diff --git a/run.php b/run.php index 2caff8fc0..18bfce027 100644 --- a/run.php +++ b/run.php @@ -40,7 +40,7 @@ if (count($nntpkill) !== 0) { } // Check database patch version -if ($patch < 125) { +if ($patch < 127) { exit($c->error("\nYour database is not up to date. Please update.\nphp /var/www/newznab/misc/update_scripts/nix_scripts/tmux/lib/DB/patchDB.php\n")); }