Skip to content

Commit fcb3094

Browse files
committed
fix: update readme file and more changes not directly related to the PR main goal.
1 parent ac91c18 commit fcb3094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@
126126
// Ensure $db_last_error is set, too.
127127
SMF\Config::getDbLastError();
128128

129-
$loader = require Config::$vendordir . '/autoload.php';
129+
$loader = require SMF\Config::$vendordir . '/autoload.php';
130130

131-
if (isset(Config::$modSettings['integrate_autoload'])) {
132-
foreach (explode(',', Config::$modSettings['integrate_autoload']) as $prefix => $dirname) {
131+
if (isset(SMF\Config::$modSettings['integrate_autoload'])) {
132+
foreach (explode(',', SMF\Config::$modSettings['integrate_autoload']) as $prefix => $dirname) {
133133
$loader->addPsr4($prefix, $dirname);
134134
}
135135
}

0 commit comments

Comments
 (0)