Bootstrap update & beginning of the develop branch partial merge.

This commit is contained in:
Yuriy Pikhtarev 2017-06-11 16:09:27 +03:00
commit 61b7ab3502
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
88 changed files with 4526 additions and 1465 deletions

View file

@ -98,7 +98,7 @@ switch ($mode) {
));
//detect cron status
if (@file_exists('../triggers/cron_running')) {
if (file_exists('../triggers/cron_running')) {
$template->assign_vars(array(
'CRON_RUNNING' => true,
));
@ -106,7 +106,7 @@ switch ($mode) {
break;
case 'repair':
if (@file_exists('../triggers/cron_running')) {
if (file_exists('../triggers/cron_running')) {
rename("../triggers/cron_running", "../triggers/cron_allowed");
}
redirect('admin/' . basename(__FILE__) . '?mode=list');
@ -178,7 +178,6 @@ switch ($mode) {
'S_MODE' => 'add',
'SCHEDULE' => build_select('schedule', $schedule, 'select', null, null),
'RUN_DAY' => build_select('run_day', $run_day, 0, null, null),
'L_CRON_EDIT_HEAD' => $lang['CRON_EDIT_HEAD_ADD'],
'CRON_ID' => 'none',
'CRON_ACTIVE' => 1,
'CRON_TITLE' => '',