X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fregistration%2FExtensionRegistry.php;h=740fed4eac8054e23bf624062311e82d6c099d56;hp=bf33c6cfa797b5326db26794208a0e39690d7053;hb=a8379682a46a428320c88702c800a6107c015137;hpb=56ade0650d492e01d2689dc918e7db3d56d18147 diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index bf33c6cfa7..740fed4eac 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -319,7 +319,9 @@ class ExtensionRegistry { define( $name, $val ); } foreach ( $info['autoloaderPaths'] as $path ) { - require_once $path; + if ( file_exists( $path ) ) { + require_once $path; + } } $this->loaded += $info['credits'];