Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lowercase for themes core view
  • Loading branch information
jakoch committed Sep 26, 2012
1 parent 1887bbe commit 1122a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Koch/View/Mapper.php
Expand Up @@ -253,7 +253,7 @@ public static function getModuleTemplatePath($template)
$renderer = HttpRequest::getRoute()->getRenderEngine();

// the template with that name is not found on our default paths
return ROOT_THEMES_CORE . 'View' . DIRECTORY_SEPARATOR . $renderer . DIRECTORY_SEPARATOR . 'template_not_found.tpl';
return ROOT_THEMES_CORE . 'view' . DIRECTORY_SEPARATOR . $renderer . DIRECTORY_SEPARATOR . 'template_not_found.tpl';
}
}

Expand All @@ -269,7 +269,7 @@ public static function findFileInPaths($paths, $filename)
// check if the file exists in one of the defined paths
foreach ($paths as $path) {
$file = $path . $filename;

#\Koch\Debug\Debug::dump($file, false);
if (is_file($file) === true) {
// file found
return $file;
Expand Down

0 comments on commit 1122a83

Please sign in to comment.