merge part of r3190 from trunk to branch 2.0.
URL parameter for template extensions can be used in slideshow. git-svn-id: http://piwigo.org/svn/branches/2.0@3191 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
77d508c6d4
commit
b70496545c
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class Template {
|
|||
return false;
|
||||
}
|
||||
|
||||
if ((stripos(implode('/',array_flip($_GET)), $param) > 0 or $param == 'N/A')
|
||||
if ((stripos(implode('/',array_keys($_GET)), $param) > 0 or $param == 'N/A')
|
||||
and (preg_match('/'.preg_quote($tpl,'/').'$/', $this->get_template_dir()) or $tpl == 'N/A')
|
||||
and (!isset($this->extents[$handle]) or $overwrite)
|
||||
and file_exists($dir . $filename))
|
||||
|
|
Loading…
Reference in a new issue