We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4700375 commit 2c5e088Copy full SHA for 2c5e088
resque.php
@@ -4,15 +4,6 @@
4
die("Set QUEUE env var containing the list of queues to work.\n");
5
}
6
7
-$APP_INCLUDE = getenv('APP_INCLUDE');
8
-if($APP_INCLUDE) {
9
- if(!file_exists($APP_INCLUDE)) {
10
- die('APP_INCLUDE ('.$APP_INCLUDE.") does not exist.\n");
11
- }
12
-
13
- require_once $APP_INCLUDE;
14
-}
15
16
require_once 'lib/Resque.php';
17
require_once 'lib/Resque/Worker.php';
18
@@ -32,6 +23,15 @@
32
23
$logLevel = Resque_Worker::LOG_VERBOSE;
33
24
34
25
26
+$APP_INCLUDE = getenv('APP_INCLUDE');
27
+if($APP_INCLUDE) {
28
+ if(!file_exists($APP_INCLUDE)) {
29
+ die('APP_INCLUDE ('.$APP_INCLUDE.") does not exist.\n");
30
+ }
31
+
+ require_once $APP_INCLUDE;
+}
35
$interval = 5;
36
$INTERVAL = getenv('INTERVAL');
37
if(!empty($INTERVAL)) {
0 commit comments