Fix low res images in in theatres page.

This commit is contained in:
Darko
2015-02-26 10:16:53 +01:00
parent 5804834a3b
commit 6c1852896c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.5r01134';
$tversion = '0.5r01135';
$buffer .= sprintf($this->tmpMasks[2],
"Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ",
+1 -1
View File
@@ -63,7 +63,7 @@ if ($data["info"] == "") {
function replace_quality($imageURL, $userSetting)
{
$types = array('thumbnail' => '_tmb.', 'profile' => '_pro.', 'detailed' => '_det.', 'original' => '_ori.');
return str_replace('_tmb.', $types[$userSetting], $imageURL);
return preg_replace("#http://resizing\.flixster\.com(/[\w=+-]+){3}\.cloudfront\.net#i", "https://content6.flixster.com", str_replace('_tmb.', $types[$userSetting], $imageURL));
}
$page->content = $page->smarty->fetch('upcoming.tpl');