Skip to content

Commit 0f7837f

Browse files
author
Evan Willhite
committed
changed to PL namespace
1 parent 78bebde commit 0f7837f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigExtension/ExtensionLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static protected function loadAll($type) {
5757
foreach (scandir($fullPath . $type) as $file) {
5858
$fileInfo = pathinfo($file);
5959
if ($fileInfo['extension'] === 'php') {
60-
if ($file[0] != '.' && $file[0] != '_' && substr($file, 0, 2) != 'd_') {
60+
if ($file[0] != '.' && $file[0] != '_' && substr($file, 0, 3) != 'pl_') {
6161
static::load($type, $fullPath . $type . '/' . $file);
6262
}
6363
}

0 commit comments

Comments
 (0)