diff --git a/lib/Resque/Job.php b/lib/Resque/Job.php index 9d674f5..5df0fb6 100644 --- a/lib/Resque/Job.php +++ b/lib/Resque/Job.php @@ -142,7 +142,7 @@ class Resque_Job return $this->instance; } - if(!class_exists($this->payload['class'])) { + if(!class_exists($this->payload['class'], false)) { throw new Resque_Exception( 'Could not find job class ' . $this->payload['class'] . '.' ); diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index 874bf69..78d3ac7 100644 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -1,7 +1,7 @@