Browse files

Update base.php

Ran into a 'Unable to open ...' error using the Template render method that was not generated using the View render method. There appeared to be a small inconsistency in parsing the UI global. So i added the small addition .';./' that was present on the View method, now they're both working fine.
1 parent 2a2affd commit 8406e37e13437f2704b83250527c59b7ea3398be @RickOrchard RickOrchard committed on GitHub Feb 15, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/base.php
@@ -2810,7 +2810,7 @@ function render($file,$mime=NULL,array $hive=NULL,$ttl=0) {
if (!is_dir($tmp=$fw->get('TEMP')))
- 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 8406e37

Please sign in to comment.