diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-17 15:37:47 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-17 15:37:47 +0100 |
commit | 2a54eb90eee5e7358e3eebbfef871254ccbcf9e0 (patch) | |
tree | 5fd977ccc3bb83e4ec0c3eed76869e4e605ff2fc /templates/part.content.cronwarning.php | |
parent | 2667c2399e63d7c7694a9662dd92ee40d9ce4ac6 (diff) |
show a warning if ajax webcron is detectedg
Diffstat (limited to 'templates/part.content.cronwarning.php')
-rw-r--r-- | templates/part.content.cronwarning.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/part.content.cronwarning.php b/templates/part.content.cronwarning.php new file mode 100644 index 000000000..73d833560 --- /dev/null +++ b/templates/part.content.cronwarning.php @@ -0,0 +1,29 @@ +<?php if ($_['cronWarning'] === 'ajaxCron') { ?> + <div id="cron-warning"> + <p><?php p($l->t('Ajax cron mode detected! Your feeds will ' . + 'not be updated correctly. It is recommended to either use ' . + 'the operating system cron or a custom updater.' + )); ?> + <ul> + <li> + <a href="http://doc.owncloud.org/server/7.0/admin_manual/configuration/background_jobs.html#cron" + target="_blank"> + <?php + p($l->t('How to set up the operating system cron')); + ?> + </a> + </li> + <li> + <a href="https://github.com/owncloud/news/wiki/Custom-Updater" + target="_blank"> + <?php + p($l->t('How to set up a custom updater ' . + '(faster and no possible deadlock) ' + )); + ?> + </a> + </li> + </ul> + </p> + </div> +<?php }; ?>
\ No newline at end of file |