From 462aa1cd4866b4bd45fa82f00a9f23d2aac445ef Mon Sep 17 00:00:00 2001 From: Nikolai Plath Date: Tue, 2 Dec 2014 12:34:27 -0500 Subject: [PATCH] Fix wrong path Component does only work on windoze systems :( --- .../PatchTester/Controller/DisplayController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php b/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php index d3984d4..0df9cef 100644 --- a/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php +++ b/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php @@ -86,7 +86,7 @@ class DisplayController extends \JControllerBase $paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/' . \JApplicationHelper::getComponentName() . '/' . $view, 2); // Add the path for the default layouts - $paths->insert(JPATH_BASE . '/components/' . \JApplicationHelper::getComponentName() . '/PatchTester/View/' . $view . '/tmpl', 1); + $paths->insert(JPATH_BASE . '/components/' . \JApplicationHelper::getComponentName() . '/PatchTester/View/' . ucfirst($view) . '/tmpl', 1); // Build the class names for the model and view $viewClass = '\\PatchTester\\View\\' . ucfirst($view) . '\\' . ucfirst($view) . ucfirst($format) . 'View';