Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Commit

Permalink
Remove break from loop
Browse files Browse the repository at this point in the history
Only the first file will be loaded when demo1 are used.
  • Loading branch information
flysen authored Sep 29, 2017
1 parent 41e5d75 commit 39eaa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _toolkit_loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
foreach ($folderInfo as $element) {
if (is_file($libDir.$element) && (substr($element, -4) === '.php')) {
include_once $libDir.$element;
break;
//break;
}
}

0 comments on commit 39eaa5c

Please sign in to comment.