From c46b1be9354967e24fb2c02ae015d80afa69cc08 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sat, 20 Feb 2016 11:56:58 -0500 Subject: [PATCH] Double slash in view lookup paths --- .../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 d41bf79..a2ce504 100644 --- a/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php +++ b/administrator/components/com_patchtester/PatchTester/Controller/DisplayController.php @@ -54,7 +54,7 @@ class DisplayController extends AbstractController $paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/com_patchtester/' . $view, 2); // Add the path for the default layouts - $paths->insert(dirname(__DIR__) . '//View/' . ucfirst($view) . '/tmpl', 1); + $paths->insert(dirname(__DIR__) . '/View/' . ucfirst($view) . '/tmpl', 1); // Build the class names for the model and view $viewClass = '\\PatchTester\\View\\' . ucfirst($view) . '\\' . ucfirst($view) . ucfirst($format) . 'View';