Permalink
Browse files

Merge pull request #998 from RickOrchard/master

patch the Preview->render() method
2 parents 2a2affd + 8406e37 commit e9a8e914177603bf636831e633c22e7870a66c5e @bcosca committed on GitHub Feb 15, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/base.php
View
@@ -2810,7 +2810,7 @@ function render($file,$mime=NULL,array $hive=NULL,$ttl=0) {
$this->mime='text/html';
if (!is_dir($tmp=$fw->get('TEMP')))
mkdir($tmp,Base::MODE,TRUE);
- foreach ($fw->split($fw->get('UI')) as $dir) {
+ foreach ($fw->split($fw->get('UI').';./') as $dir) {
if ($cache->exists($hash=$fw->hash($dir.$file),$data))
return $data;
if (is_file($view=$fw->fixslashes($dir.$file))) {

0 comments on commit e9a8e91

Please sign in to comment.