]> source.dussan.org Git - nextcloud-server.git/commit
Add detection for invalid CLI configuration for settings page
authorLukas Reschke <lukas@owncloud.com>
Fri, 27 Feb 2015 19:04:52 +0000 (20:04 +0100)
committerLukas Reschke <lukas@owncloud.com>
Fri, 27 Feb 2015 19:20:34 +0000 (20:20 +0100)
commitb6d8a48ce1cefdd11db90d7a4b359f22b2906962
tree97d515ceca808a54c932fc9d873488931ede4fc7
parent13b0b7dfaf6553411928677420d8d21fa352bb3e
Add detection for invalid CLI configuration for settings page

This change will log all failures that prevent the CLI cronjob from happening to the database and display a warning to administrators when an error happened.

To test:

1. Configure some invalid CLI php.ini settings
2. Enable the CLI cronjob and run php cron.php
3. See the errors printed and also in the admin page
4. Configure the CLI settings correctly
5. Errors should be gone.

Fixes https://github.com/owncloud/core/issues/13994
lib/base.php
settings/admin.php
settings/templates/admin.php