mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Minor improvements (#306)
* Minor improvements * Updated * Update CHANGELOG.md
This commit is contained in:
parent
06bebb03cb
commit
a895e2d5e8
@ -6,7 +6,7 @@
|
|||||||
**Merged pull requests:**
|
**Merged pull requests:**
|
||||||
|
|
||||||
- Release v2.1.5-2023.10 🎉
|
- Release v2.1.5-2023.10 🎉
|
||||||
- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305), [\#306](https://github.com/torrentpier/torrentpier-lts/pull/306) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
|
||||||
## [v2.1.5-2023.09](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.09) (2023-10-04)
|
## [v2.1.5-2023.09](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.09) (2023-10-04)
|
||||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08-HotFix...v2.1.5-2023.09)
|
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08-HotFix...v2.1.5-2023.09)
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('BB_ROOT', './../');
|
|
||||||
define('IN_FORUM', true);
|
define('IN_FORUM', true);
|
||||||
define('IN_ADMIN', true);
|
define('IN_ADMIN', true);
|
||||||
|
define('BB_ROOT', './../');
|
||||||
require(BB_ROOT .'common.php');
|
require(BB_ROOT .'common.php');
|
||||||
require(ATTACH_DIR .'attachment_mod.php');
|
require(ATTACH_DIR .'attachment_mod.php');
|
||||||
require(ATTACH_DIR .'includes/functions_admin.php');
|
require(ATTACH_DIR .'includes/functions_admin.php');
|
||||||
|
2
ajax.php
2
ajax.php
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('BB_SCRIPT', 'ajax');
|
|
||||||
define('IN_AJAX', true);
|
define('IN_AJAX', true);
|
||||||
|
define('BB_SCRIPT', 'ajax');
|
||||||
|
|
||||||
$ajax = new ajax_common();
|
$ajax = new ajax_common();
|
||||||
|
|
||||||
|
2
dl.php
2
dl.php
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('IN_FORUM', true);
|
define('IN_FORUM', true);
|
||||||
define('BB_SCRIPT', 'dl');
|
|
||||||
define('NO_GZIP', true);
|
define('NO_GZIP', true);
|
||||||
|
define('BB_SCRIPT', 'dl');
|
||||||
define('BB_ROOT', './');
|
define('BB_ROOT', './');
|
||||||
require(BB_ROOT .'common.php');
|
require(BB_ROOT .'common.php');
|
||||||
require(ATTACH_DIR .'attachment_mod.php');
|
require(ATTACH_DIR .'attachment_mod.php');
|
||||||
|
@ -230,7 +230,7 @@ switch($this->request['type'])
|
|||||||
case 'add':
|
case 'add':
|
||||||
if (!isset($this->request['topic_id']))
|
if (!isset($this->request['topic_id']))
|
||||||
{
|
{
|
||||||
$this->ajax_die('empty topic_id');
|
$this->ajax_die($lang['INVALID_TOPIC_ID']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bf($userdata['user_opt'], 'user_opt', 'dis_post'))
|
if (bf($userdata['user_opt'], 'user_opt', 'dis_post'))
|
||||||
@ -325,4 +325,4 @@ switch($this->request['type'])
|
|||||||
default:
|
default:
|
||||||
$this->ajax_die('empty type');
|
$this->ajax_die('empty type');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('IN_FORUM', true);
|
define('IN_FORUM', true);
|
||||||
define('BB_SCRIPT', 'login');
|
|
||||||
define('IN_LOGIN', true);
|
define('IN_LOGIN', true);
|
||||||
|
define('BB_SCRIPT', 'login');
|
||||||
define('BB_ROOT', './');
|
define('BB_ROOT', './');
|
||||||
require(BB_ROOT .'common.php');
|
require(BB_ROOT .'common.php');
|
||||||
|
|
||||||
|
3
poll.php
3
poll.php
@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('BB_SCRIPT', 'vote');
|
define('BB_SCRIPT', 'vote');
|
||||||
require('./common.php');
|
define('BB_ROOT', './');
|
||||||
|
require(BB_ROOT ."common.php");
|
||||||
|
|
||||||
$user->session_start(array('req_login' => true));
|
$user->session_start(array('req_login' => true));
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('IN_FORUM', true);
|
define('IN_FORUM', true);
|
||||||
define('BB_SCRIPT', 'pm');
|
|
||||||
define('IN_PM', true);
|
define('IN_PM', true);
|
||||||
|
define('BB_SCRIPT', 'pm');
|
||||||
define('BB_ROOT', './');
|
define('BB_ROOT', './');
|
||||||
require(BB_ROOT .'common.php');
|
require(BB_ROOT .'common.php');
|
||||||
require(INC_DIR .'bbcode.php');
|
require(INC_DIR .'bbcode.php');
|
||||||
@ -1673,4 +1673,4 @@ function pm_die ($msg)
|
|||||||
$msg .= sprintf($lang['CLICK_RETURN_INDEX'], '<a href="'."index.php".'">', '</a>');
|
$msg .= sprintf($lang['CLICK_RETURN_INDEX'], '<a href="'."index.php".'">', '</a>');
|
||||||
|
|
||||||
bb_die($msg);
|
bb_die($msg);
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
define('BB_SCRIPT', 'search');
|
define('BB_SCRIPT', 'search');
|
||||||
define('BB_ROOT', './');
|
define('BB_ROOT', './');
|
||||||
require(BB_ROOT . 'common.php');
|
require(BB_ROOT . 'common.php');
|
||||||
|
|
||||||
require(INC_DIR . 'bbcode.php');
|
require(INC_DIR . 'bbcode.php');
|
||||||
require(CLASS_DIR . 'utf8.php');
|
require(CLASS_DIR . 'utf8.php');
|
||||||
require(CLASS_DIR . 'correct.php');
|
require(CLASS_DIR . 'correct.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user