projects
/
zf2.biz
/
galerie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added README back to vendor/
[zf2.biz/galerie.git]
/
public
/
index.php
diff --git
a/public/index.php
b/public/index.php
index
89b082b
..
34c609d
100644
(file)
--- a/
public/index.php
+++ b/
public/index.php
@@
-4,6
+4,11
@@
use Zend\ServiceManager\ServiceManager,
chdir(dirname(__DIR__));
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');
// Composer autoloading
require_once('vendor/autoload.php');