summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
committerAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
commit88e8fb3a7132d1321ab65b66a19a67df890c402d (patch)
treeb597639dfe7797a34efe0e348ef6e37a8a11b467 /update_daemon2.php
parent51cc387347668e98b1b8e6c6053581a2affc5fa6 (diff)
modify include path order (closes #514)
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 6410709ad..05b55ffe3 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -1,10 +1,7 @@
#!/usr/bin/env php
<?php
- set_include_path(get_include_path() . PATH_SEPARATOR .
- dirname(__FILE__) . "/include");
-
- // This is an experimental multiprocess update daemon.
- // Some configurable variable may be found below.
+ set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
+ get_include_path());
declare(ticks = 1);
chdir(dirname(__FILE__));