mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/system-cron] Added acp ui for use_system_cron config setting.
PHPBB3-9596
This commit is contained in:
parent
ce5204dcfd
commit
f07aeba9c0
2 changed files with 3 additions and 0 deletions
|
@ -351,6 +351,7 @@ class acp_board
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_SERVER_SETTINGS',
|
'legend1' => 'ACP_SERVER_SETTINGS',
|
||||||
'gzip_compress' => array('lang' => 'ENABLE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'gzip_compress' => array('lang' => 'ENABLE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
|
'use_system_cron' => array('lang' => 'USE_SYSTEM_CRON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
|
|
||||||
'legend2' => 'PATH_SETTINGS',
|
'legend2' => 'PATH_SETTINGS',
|
||||||
'smilies_path' => array('lang' => 'SMILIES_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
|
'smilies_path' => array('lang' => 'SMILIES_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
|
||||||
|
|
|
@ -433,6 +433,8 @@ $lang = array_merge($lang, array(
|
||||||
'SMILIES_PATH_EXPLAIN' => 'Path under your phpBB root directory, e.g. <samp>images/smilies</samp>.',
|
'SMILIES_PATH_EXPLAIN' => 'Path under your phpBB root directory, e.g. <samp>images/smilies</samp>.',
|
||||||
'UPLOAD_ICONS_PATH' => 'Extension group icons storage path',
|
'UPLOAD_ICONS_PATH' => 'Extension group icons storage path',
|
||||||
'UPLOAD_ICONS_PATH_EXPLAIN' => 'Path under your phpBB root directory, e.g. <samp>images/upload_icons</samp>.',
|
'UPLOAD_ICONS_PATH_EXPLAIN' => 'Path under your phpBB root directory, e.g. <samp>images/upload_icons</samp>.',
|
||||||
|
'USE_SYSTEM_CRON' => 'Run periodic tasks from system cron',
|
||||||
|
'USE_SYSTEM_CRON_EXPLAIN' => 'When off, phpBB will arrange for periodic tasks to be run automatically. When on, phpBB will not schedule any periodic tasks by itself; a system administrator must arrange for <code>cron.php</code> to be invoked by the system cron facility at regular intervals (e.g. every 5 minutes).',
|
||||||
));
|
));
|
||||||
|
|
||||||
// Security Settings
|
// Security Settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue