Skip to content

Commit

Permalink
Update index.php to use ZF2_PATH env var
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed Jan 8, 2012
1 parent 5822da9 commit 1143076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
chdir(dirname(__DIR__));
require_once 'vendor/ZendFramework/library/Zend/Loader/AutoloaderFactory.php';
require_once (getenv('ZF2_PATH') ?: 'vendor/ZendFramework/library') . '/Zend/Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array('Zend\Loader\StandardAutoloader' => array()));

$appConfig = include 'config/application.config.php';
Expand Down

0 comments on commit 1143076

Please sign in to comment.