Skip to content

Commit 6d5f9a4

Browse files
committed
break out of loop if match is found
1 parent 1ac9a30 commit 6d5f9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_toolkit_loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
foreach ($folderInfo as $element) {
2121
if (is_file($libDir.$element) && (substr($element, -4) === '.php')) {
2222
include_once $libDir.$element;
23+
break;
2324
}
2425
}
25-

0 commit comments

Comments
 (0)