From 558b543b6eda1d3532e38bd48e93304259a2f166 Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Sat, 03 May 2014 04:29:26 -0400
Subject: [PATCH] - Make sure full cron jobs are written unchanged; with the previous version, a cron job like "cd /var/www/example.com/web/ && /opt/php-5.4.23/bin/php shopware.php /backend/cron" was changed to "/var/www/clients/client1/web1/cd /var/www/example.com/web/ && /opt/php-5.4.23/bin/php shopware.php /backend/cron" which of course does not work.

---
 server/plugins-available/cron_plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/cron_plugin.inc.php b/server/plugins-available/cron_plugin.inc.php
index 8ea86c3..fe00713 100644
--- a/server/plugins-available/cron_plugin.inc.php
+++ b/server/plugins-available/cron_plugin.inc.php
@@ -213,7 +213,7 @@
 					}
 
 					$command .= "\t";
-					if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
+					//if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
 					$command .= $job['command'];
 				}
 

--
Gitblit v1.9.1