MediaWiki REL1_39
|
A collection of static utility methods for use with settings files. More...
Static Public Member Functions | |
static | resolveRelativeLocation (string $path, string $base) |
Resolves a relative settings source location. | |
A collection of static utility methods for use with settings files.
Definition at line 12 of file SettingsFileUtils.php.
|
static |
Resolves a relative settings source location.
This method will attempt to interpret $path as relative to $base if possible. This behaves similar to relative URLs are made absolute using a base URL.
The current implementation is based on file paths, but this may be expanded in the future to support other kinds of locations.
string | $path | |
string | $base |
Definition at line 27 of file SettingsFileUtils.php.