diff --git a/libraries/Twiggy.php b/libraries/Twiggy.php index 7e99355..f873d91 100644 --- a/libraries/Twiggy.php +++ b/libraries/Twiggy.php @@ -485,6 +485,8 @@ private function _set_template_locations($theme) // Reset the paths if needed. if(is_object($this->_twig_loader)) { + //lets make twig check our themes before falling back to the default. + $this->_template_locations = array_reverse($this->_template_locations); $this->_twig_loader->setPaths($this->_template_locations); } } @@ -583,4 +585,4 @@ public function __get($variable) return FALSE; } } -// End Class \ No newline at end of file +// End Class