Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 3719cee

Browse files
edg2sMatmaRex
authored andcommitted
Set $wgResourceBasePath
This line is usually generated automatically by the installer, but only since 1.27. This fixes things like $wgLogo in versions <1.27.
1 parent dac8d6e commit 3719cee

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

localsettings/core.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
$wgShowExceptionDetails = true;
1212
$wgDebugComments = true;
1313

14+
// Usually generated by the installer, but only since 1.27
15+
$wgResourceBasePath = $wgScriptPath;
16+
1417
// Slice off the '/w' from the end
1518
$basePath = substr( $wgScriptPath, 0, -2 );
1619

0 commit comments

Comments
 (0)