Fix APP_INCLUDE typo

This commit is contained in:
Chris Boulton 2010-08-01 15:07:14 +10:00
parent ae89f29057
commit 5dc24ebbe4
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ PHP.
and after every single run. and after every single run.
* Ability to specify a cluster/multiple redis servers and consistent hash * Ability to specify a cluster/multiple redis servers and consistent hash
between them (Thanks dceballos) between them (Thanks dceballos)
* Fix `APP_INCLUDE` environment variable not loading correctly.
## 1.0 (2010-04-18) ## ## 1.0 (2010-04-18) ##

View File

@ -12,7 +12,7 @@ if(!empty($_ENV['APP_INCLUDE'])) {
die('APP_INCLUDE ('.$_ENV['APP_INCLUDE'].") does not exist.\n"); die('APP_INCLUDE ('.$_ENV['APP_INCLUDE'].") does not exist.\n");
} }
require_once APP_INCLUDE; require_once $_ENV['APP_INCLUDE'];
} }
require 'lib/Resque.php'; require 'lib/Resque.php';