Skip to content

Commit

Permalink
Use Include not require as globals are a SMF issue. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarwood007 authored Apr 1, 2023
1 parent 29f4975 commit 34ae468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ForumProvider/smf2.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function readConfigurationFile(string $basepath)
foreach ($this->settingsFileVariables as $key)
global $$key;

require ($basepath . '/Settings.php');
include ($basepath . '/Settings.php');

// Put these away for later.
foreach ($this->settingsFileVariables as $key)
Expand Down

0 comments on commit 34ae468

Please sign in to comment.