mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-23 03:19:00 +00:00
Fix wrong path
Component does only work on windoze systems :(
This commit is contained in:
parent
c16dbbdcd9
commit
462aa1cd48
@ -86,7 +86,7 @@ class DisplayController extends \JControllerBase
|
|||||||
$paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/' . \JApplicationHelper::getComponentName() . '/' . $view, 2);
|
$paths->insert(JPATH_THEMES . '/' . $this->getApplication()->getTemplate() . '/html/' . \JApplicationHelper::getComponentName() . '/' . $view, 2);
|
||||||
|
|
||||||
// Add the path for the default layouts
|
// 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
|
// 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