made config required to fail earlier
authorKathryn Reeve <Kathryn@BinaryKitten.com>
Wed, 3 Oct 2012 10:27:57 +0000 (12:27 +0200)
committerKathryn Reeve <Kathryn@BinaryKitten.com>
Wed, 3 Oct 2012 10:27:57 +0000 (12:27 +0200)
issue raised and discussed by zomg in IRC.

public/index.php

index 2891a0c..f49a36c 100644 (file)
@@ -6,7 +6,7 @@
 chdir(dirname(__DIR__));
 
 // Setup autoloading
-include 'init_autoloader.php';
+require 'init_autoloader.php';
 
 // Run the application!
 Zend\Mvc\Application::init(include 'config/application.config.php')->run();