From 90301ed2693d1ba060b2d5ccfff2cc34bf7a5921 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 24 Feb 2015 15:27:18 +0100 Subject: [PATCH] Update regex to catch YAPG releases. --- lib/copy_this/www/lib/Categorize.php | 2 +- lib/copy_this/www/lib/TmuxOutput.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/copy_this/www/lib/Categorize.php b/lib/copy_this/www/lib/Categorize.php index 1c83eb60b..a5b6d133c 100644 --- a/lib/copy_this/www/lib/Categorize.php +++ b/lib/copy_this/www/lib/Categorize.php @@ -831,7 +831,7 @@ class Categorize extends Category public function isXxxClipHD() { - if (preg_match('/^[\w-.]+(\d{2}\.\d{2}\.\d{2})[\w-.]+(M[PO][V4]-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH))/i', $this->releaseName)) { + if (preg_match('/^[\w-.]+(\d{2}\.\d{2}\.\d{2})[\w-.]+(M[PO][V4]-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH|YAPG))/i', $this->releaseName)) { $this->tmpCat = \Category::CAT_XXX_CLIPHD; return true; } diff --git a/lib/copy_this/www/lib/TmuxOutput.php b/lib/copy_this/www/lib/TmuxOutput.php index f7934b5e0..22939da31 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.5r01129'; + $tversion = '0.5r01130'; $buffer .= sprintf($this->tmpMasks[2], "Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ",