Skip to content

Commit

Permalink
fix: Use include and not include_once because software sucks. (#526)
Browse files Browse the repository at this point in the history
Refs: OPS-11376
  • Loading branch information
cafuego authored Feb 27, 2025
1 parent 2165886 commit 054661c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// @TODO: Use some sort of key/value store.
if (file_exists('/srv/www/shared/settings')) {
foreach (glob('/srv/www/shared/settings/settings.*.php') as $filename) {
include_once $filename;
include $filename;
}
}

Expand Down

0 comments on commit 054661c

Please sign in to comment.