MediaWiki
master
|
Thrown when ExtensionRegistry cannot open the extension.json or skin.json file. More...
Public Member Functions | |
__construct ( $path, $error) | |
render () | |
Output an error response and exit. More... | |
Thrown when ExtensionRegistry cannot open the extension.json or skin.json file.
We handle this case specially, because it is one of the more common errors a new MW sysadmin is likely to encounter and we want their initial experience to be good. wfLoadExtension() generally happens before MWExceptionRenderer gets installed so we cannot use that.
Definition at line 16 of file MissingExtensionException.php.
MissingExtensionException::__construct | ( | $path, | |
$error | |||
) |
string | $path | Path of file that cannot be read |
string | $error | Text of error mtime gave |
Definition at line 30 of file MissingExtensionException.php.
References $path.
MissingExtensionException::render | ( | ) |
Output an error response and exit.
Definition at line 92 of file MissingExtensionException.php.