mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
6e8677eb96
commit
cc721b487c
@ -14,7 +14,7 @@
|
|||||||
- Corrected translations [\#183](https://github.com/torrentpier/torrentpier-lts/pull/183) ([belomaxorka](https://github.com/belomaxorka))
|
- Corrected translations [\#183](https://github.com/torrentpier/torrentpier-lts/pull/183) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka))
|
- IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194), [\#195](https://github.com/torrentpier/torrentpier-lts/pull/195), [\#199](https://github.com/torrentpier/torrentpier-lts/pull/199), [\#200](https://github.com/torrentpier/torrentpier-lts/pull/200), [\#201](https://github.com/torrentpier/torrentpier-lts/pull/201), [\#208](https://github.com/torrentpier/torrentpier-lts/pull/208) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194), [\#195](https://github.com/torrentpier/torrentpier-lts/pull/195), [\#199](https://github.com/torrentpier/torrentpier-lts/pull/199), [\#200](https://github.com/torrentpier/torrentpier-lts/pull/200), [\#201](https://github.com/torrentpier/torrentpier-lts/pull/201), [\#208](https://github.com/torrentpier/torrentpier-lts/pull/208), [\#209](https://github.com/torrentpier/torrentpier-lts/pull/209) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka))
|
- Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ if ($log_rowset)
|
|||||||
'TOPIC_HREF_NEW_S' => url_arg($url, $topic_key, $row['log_topic_id_new']),
|
'TOPIC_HREF_NEW_S' => url_arg($url, $topic_key, $row['log_topic_id_new']),
|
||||||
'TOPIC_TITLE_NEW' => $topic_title_new,
|
'TOPIC_TITLE_NEW' => $topic_title_new,
|
||||||
|
|
||||||
'DATE' => bb_date($row['log_time'], 'd-M-Y', false),
|
'DATE' => bb_date($row['log_time'], 'd-M-y'),
|
||||||
'TIME' => bb_date($row['log_time'], 'H:i'),
|
'TIME' => bb_date($row['log_time'], 'H:i'),
|
||||||
'DATETIME_HREF_S' => $datetime_href_s,
|
'DATETIME_HREF_S' => $datetime_href_s,
|
||||||
'MSG' => $msg,
|
'MSG' => $msg,
|
||||||
@ -410,4 +410,4 @@ $template->assign_vars(array(
|
|||||||
'TOPIC_CSV' => $topic_csv,
|
'TOPIC_CSV' => $topic_csv,
|
||||||
));
|
));
|
||||||
|
|
||||||
print_page('admin_log.tpl', 'admin');
|
print_page('admin_log.tpl', 'admin');
|
||||||
|
@ -13,7 +13,7 @@ function cron_get_file_lock ()
|
|||||||
{
|
{
|
||||||
# bb_log(date('H:i:s - ') . getmypid() .' -x-- FILE-LOCK try'. LOG_LF, CRON_LOG_DIR .'cron_check');
|
# bb_log(date('H:i:s - ') . getmypid() .' -x-- FILE-LOCK try'. LOG_LF, CRON_LOG_DIR .'cron_check');
|
||||||
|
|
||||||
$lock_obtained = @rename(CRON_ALLOWED, CRON_RUNNING);
|
$lock_obtained = rename(CRON_ALLOWED, CRON_RUNNING);
|
||||||
}
|
}
|
||||||
elseif (file_exists(CRON_RUNNING))
|
elseif (file_exists(CRON_RUNNING))
|
||||||
{
|
{
|
||||||
@ -22,7 +22,7 @@ function cron_get_file_lock ()
|
|||||||
elseif (!file_exists(CRON_ALLOWED) && !file_exists(CRON_RUNNING))
|
elseif (!file_exists(CRON_ALLOWED) && !file_exists(CRON_RUNNING))
|
||||||
{
|
{
|
||||||
file_write('', CRON_ALLOWED);
|
file_write('', CRON_ALLOWED);
|
||||||
$lock_obtained = @rename(CRON_ALLOWED, CRON_RUNNING);
|
$lock_obtained = rename(CRON_ALLOWED, CRON_RUNNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $lock_obtained;
|
return $lock_obtained;
|
||||||
@ -74,4 +74,4 @@ if (cron_get_file_lock())
|
|||||||
if (defined('IN_CRON'))
|
if (defined('IN_CRON'))
|
||||||
{
|
{
|
||||||
bb_log(date('H:i:s - ') . getmypid() .' --x- ALL jobs FINISHED *************************************************'. LOG_LF, CRON_LOG_DIR .'cron_check');
|
bb_log(date('H:i:s - ') . getmypid() .' --x- ALL jobs FINISHED *************************************************'. LOG_LF, CRON_LOG_DIR .'cron_check');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user