mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-10 15:21:01 +00:00
Double slash in view lookup paths
This commit is contained in:
parent
f7bd9029d3
commit
c46b1be935
@ -54,7 +54,7 @@ class DisplayController extends AbstractController
|
|||||||
$paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/com_patchtester/' . $view, 2);
|
$paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/com_patchtester/' . $view, 2);
|
||||||
|
|
||||||
// Add the path for the default layouts
|
// 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
|
// Build the class names for the model and view
|
||||||
$viewClass = '\\PatchTester\\View\\' . ucfirst($view) . '\\' . ucfirst($view) . ucfirst($format) . 'View';
|
$viewClass = '\\PatchTester\\View\\' . ucfirst($view) . '\\' . ucfirst($view) . ucfirst($format) . 'View';
|
||||||
|
Loading…
Reference in New Issue
Block a user