From 5dc24ebbe4955dad346d85d9f30b2be3b8230d36 Mon Sep 17 00:00:00 2001 From: Chris Boulton Date: Sun, 1 Aug 2010 15:07:14 +1000 Subject: [PATCH] Fix APP_INCLUDE typo --- CHANGELOG.markdown | 1 + resque.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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';