diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index a773751..98de83f 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -5,6 +5,7 @@ PHP. and after every single run. * Ability to specify a cluster/multiple redis servers and consistent hash between them (Thanks dceballos) +* Fix `APP_INCLUDE` environment variable not loading correctly. ## 1.0 (2010-04-18) ## diff --git a/resque.php b/resque.php index eb6aec9..4b7ab44 100644 --- a/resque.php +++ b/resque.php @@ -12,7 +12,7 @@ if(!empty($_ENV['APP_INCLUDE'])) { die('APP_INCLUDE ('.$_ENV['APP_INCLUDE'].") does not exist.\n"); } - require_once APP_INCLUDE; + require_once $_ENV['APP_INCLUDE']; } require 'lib/Resque.php';