mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Bootstrap update & beginning of the develop branch partial merge.
This commit is contained in:
parent
4d1f5cecbd
commit
61b7ab3502
88 changed files with 4526 additions and 1465 deletions
|
@ -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' => '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue