From 558b543b6eda1d3532e38bd48e93304259a2f166 Mon Sep 17 00:00:00 2001 From: Falko Timme Date: Sat, 3 May 2014 10:29:26 +0200 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins-available/cron_plugin.inc.php b/server/plugins-available/cron_plugin.inc.php index 8ea86c318..fe00713ec 100644 --- a/server/plugins-available/cron_plugin.inc.php +++ b/server/plugins-available/cron_plugin.inc.php @@ -213,7 +213,7 @@ class cron_plugin { } $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']; } -- GitLab