mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
ec1eb0a007
commit
6b3b0e8310
@ -19,7 +19,7 @@
|
||||
- Make sql log file name configurable [\#130](https://github.com/torrentpier/torrentpier-lts/pull/130) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Enhanced https check [\#131](https://github.com/torrentpier/torrentpier-lts/pull/131), [\#132](https://github.com/torrentpier/torrentpier-lts/pull/132) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Added ability to configure sphinx debug [\#137](https://github.com/torrentpier/torrentpier-lts/pull/137) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor fixes [\#124](https://github.com/torrentpier/torrentpier-lts/pull/124), [\#133](https://github.com/torrentpier/torrentpier-lts/pull/133), [\#135](https://github.com/torrentpier/torrentpier-lts/pull/135), [\#136](https://github.com/torrentpier/torrentpier-lts/pull/136) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor fixes [\#124](https://github.com/torrentpier/torrentpier-lts/pull/124), [\#133](https://github.com/torrentpier/torrentpier-lts/pull/133), [\#135](https://github.com/torrentpier/torrentpier-lts/pull/135), [\#136](https://github.com/torrentpier/torrentpier-lts/pull/136), [\#139](https://github.com/torrentpier/torrentpier-lts/pull/139) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.1.5-2023.03](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.03) (2023-04-04)
|
||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.03...main)
|
||||
|
@ -29,7 +29,7 @@ include(ATTACH_DIR .'includes/functions_selects.php');
|
||||
if (!isset($lang['TEST_SETTINGS_SUCCESSFUL']))
|
||||
{
|
||||
// include_once is used within the function
|
||||
include_attach_lang();
|
||||
// include_attach_lang();
|
||||
}
|
||||
|
||||
// Init Vars
|
||||
@ -43,6 +43,9 @@ $size = get_var('size', '');
|
||||
$mode = get_var('mode', '');
|
||||
$e_mode = get_var('e_mode', '');
|
||||
|
||||
$error = false;
|
||||
$add_forum = (isset($_POST['add_forum'])) ? TRUE : FALSE;
|
||||
$delete_forum = (isset($_POST['del_forum'])) ? TRUE : FALSE;
|
||||
$submit = (isset($_POST['submit'])) ? TRUE : FALSE;
|
||||
|
||||
// Get Attachment Config
|
||||
@ -511,9 +514,6 @@ if ($e_mode == 'perm')
|
||||
{
|
||||
$group = get_var('e_group', 0);
|
||||
|
||||
$add_forum = (isset($_POST['add_forum'])) ? TRUE : FALSE;
|
||||
$delete_forum = (isset($_POST['del_forum'])) ? TRUE : FALSE;
|
||||
|
||||
if (isset($_POST['close_perm']))
|
||||
{
|
||||
$e_mode = '';
|
||||
|
@ -1572,6 +1572,8 @@ function bb_date ($gmepoch, $format = false, $friendly_date = true)
|
||||
{
|
||||
global $bb_cfg, $lang, $userdata;
|
||||
|
||||
$gmepoch = (int)$gmepoch;
|
||||
|
||||
if (!$format) $format = $bb_cfg['default_dateformat'];
|
||||
if (empty($lang)) require_once($bb_cfg['default_lang_dir'] .'main.php');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user