mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix missing regexp match
This commit is contained in:
parent
02639e9aa0
commit
94c16bc363
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class Template
|
|||
$this->relative_path = $this->relative_dirname . $filename;
|
||||
if ($this->extension === null)
|
||||
{
|
||||
$this->extension = preg_match('/\.(?:blade\.php|[a-z]+)$/i', $filename, $m) ? $m[1] : '';
|
||||
$this->extension = preg_match('/\.(blade\.php|[a-z]+)$/i', $filename, $m) ? $m[1] : '';
|
||||
}
|
||||
if ($this->exists === null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue