Author: ralfbecker
New Revision: 55672
URL: http://svn.stylite.de/viewvc/egroupware?rev=55672&view=rev
Log:
cant include api/asyncwrapper.php, as #!/usr/bin/php gets echoed and therefore generated cron mails
Modified:
trunk/phpgwapi/cron/asyncwrapper.php
— trunk/phpgwapi/cron/asyncwrapper.php (original)
+++ trunk/phpgwapi/cron/asyncwrapper.php Thu Apr 7 15:09:23 2016
@@ -11,4 +11,14 @@
-include DIR.’/…/…/api/asyncwrapper.php’;
+$path_to_egroupware = realpath(DIR.’/…/…’); // need to be adapted if this script is moved somewhere else
+$php = isset($ENV[’’]) ? $ENV[’’] : $SERVER[’’];
+
+foreach(file($path_to_egroupware. ‘/header.inc.php’) as $line)
+{
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs