X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=public%2Findex.php;h=34c609d405670e9f3bff78a8701a27df74b243e0;hb=b512f01381ad277ba0d16d8404eb93aff260b8a6;hp=89b082b31716ca467b9ed9c5fb197cf94d6f9305;hpb=6bbeadfd845c09d7f588a5195c503a9ba1ee210f;p=zf2.biz%2Fgalerie.git diff --git a/public/index.php b/public/index.php index 89b082b..34c609d 100644 --- a/public/index.php +++ b/public/index.php @@ -4,6 +4,11 @@ use Zend\ServiceManager\ServiceManager, chdir(dirname(__DIR__)); +if (!file_exists('vendor/autoload.php')) { + throw new RuntimeException('vendor/autoload.php could not be found. Did you run php composer.phar install?'); + exit; +} + // Composer autoloading require_once('vendor/autoload.php');