Changeset 3395
- Timestamp:
- 10/21/10 17:54:46 (14 years ago)
- Location:
- branches/2.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.Thread.inc.php
r284 r3395 38 38 $t = new Thread; 39 39 $descriptor = array (0 => array ("pipe", "r"), 1 => array ("pipe", "w"), 2 => array ("pipe", "w")); 40 $t->pref = proc_open ("php -q ". "/var/www/expresso/contactcenter/inc/" . $url, $descriptor, $t->pipes, NULL, $env);40 $t->pref = proc_open ("php -q ". PHPGW_SERVER_ROOT . "/contactcenter/inc/" . $url, $descriptor, $t->pipes, NULL, $env); 41 41 stream_set_blocking ($t->pipes[1], 0); 42 42 stream_set_blocking ($t->pipes[2], 0); -
branches/2.2/phpgwapi/inc/class.asyncservice.inc.php
r129 r3395 702 702 //$cronline .= $this->php.' -q '.$this->cronline."\n"; 703 703 $php_version = preg_match("/5./",phpversion()) ? "php5" : "php4"; 704 $cronline .= "cd /var/www/expresso/phpgwapi/cron/; $php_version -c /etc/$php_version/apache2/php.ini -q /var/www/expresso/phpgwapi/cron/asyncservices.php default\n";704 $cronline .= "cd " . PHPGW_SERVER_ROOT . "/phpgwapi/cron/; $php_version -c /etc/$php_version/apache2/php.ini -q " . PHPGW_SERVER_ROOT . "/phpgwapi/cron/asyncservices.php default\n"; 705 705 //echo "<p>Installing: '$cronline'</p>\n"; 706 706 fwrite($crontab,$cronline);
Note: See TracChangeset
for help on using the changeset viewer.