Commit 558b543b authored by Falko Timme's avatar Falko Timme
Browse files

- Make sure full cron jobs are written unchanged; with the previous version, a...

- 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.
parent c5541531
...@@ -213,7 +213,7 @@ class cron_plugin { ...@@ -213,7 +213,7 @@ class cron_plugin {
} }
$command .= "\t"; $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']; $command .= $job['command'];
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment