mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix #2228 incorrect fallback to default skin when Blade template is present
This commit is contained in:
parent
9c145480fe
commit
1a8b84e75b
1 changed files with 4 additions and 1 deletions
|
|
@ -235,7 +235,10 @@ class NcenterliteView extends Ncenterlite
|
|||
$path = $this->getTemplatePath();
|
||||
if (!file_exists($path . $filename . '.html'))
|
||||
{
|
||||
$this->setTemplatePath(dirname($path) . '/default/');
|
||||
if (!file_exists($path . $filename . '.blade.php'))
|
||||
{
|
||||
$this->setTemplatePath(dirname($path) . '/default/');
|
||||
}
|
||||
}
|
||||
$this->setTemplateFile($filename);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue