X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWebStart.php;h=16658d38634b5ecd2ca0a5426906f1d0760afe1e;hb=6a3bc6294a1b5b42a4d0f7062152d892e0aed1d3;hp=ead6d77ae62979cb2257647cf5c495c1fb625d67;hpb=7636bea2bf3ccc33389a97d968bdda64036f59c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index ead6d77ae6..16658d3863 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -91,6 +91,11 @@ if ( $IP === false ) { } } +# Load composer's autoloader if present +if ( is_readable( "$IP/vendor/autoload.php" ) ) { + require_once "$IP/vendor/autoload.php"; +} + # Get MWInit class require_once "$IP/includes/Init.php";