Minor improvements (#306)

* Minor improvements

* Updated

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-10-06 14:43:41 +07:00 committed by GitHub
parent 06bebb03cb
commit a895e2d5e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 12 deletions

View File

@ -6,7 +6,7 @@
**Merged pull requests:**
- 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)
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08-HotFix...v2.1.5-2023.09)

View File

@ -1,9 +1,8 @@
<?php
define('BB_ROOT', './../');
define('IN_FORUM', true);
define('IN_ADMIN', true);
define('BB_ROOT', './../');
require(BB_ROOT .'common.php');
require(ATTACH_DIR .'attachment_mod.php');
require(ATTACH_DIR .'includes/functions_admin.php');

View File

@ -1,7 +1,7 @@
<?php
define('BB_SCRIPT', 'ajax');
define('IN_AJAX', true);
define('BB_SCRIPT', 'ajax');
$ajax = new ajax_common();

2
dl.php
View File

@ -1,8 +1,8 @@
<?php
define('IN_FORUM', true);
define('BB_SCRIPT', 'dl');
define('NO_GZIP', true);
define('BB_SCRIPT', 'dl');
define('BB_ROOT', './');
require(BB_ROOT .'common.php');
require(ATTACH_DIR .'attachment_mod.php');

View File

@ -230,7 +230,7 @@ switch($this->request['type'])
case 'add':
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'))

View File

@ -1,8 +1,8 @@
<?php
define('IN_FORUM', true);
define('BB_SCRIPT', 'login');
define('IN_LOGIN', true);
define('BB_SCRIPT', 'login');
define('BB_ROOT', './');
require(BB_ROOT .'common.php');

View File

@ -1,7 +1,8 @@
<?php
define('BB_SCRIPT', 'vote');
require('./common.php');
define('BB_ROOT', './');
require(BB_ROOT ."common.php");
$user->session_start(array('req_login' => true));

View File

@ -1,8 +1,8 @@
<?php
define('IN_FORUM', true);
define('BB_SCRIPT', 'pm');
define('IN_PM', true);
define('BB_SCRIPT', 'pm');
define('BB_ROOT', './');
require(BB_ROOT .'common.php');
require(INC_DIR .'bbcode.php');

View File

@ -3,7 +3,6 @@
define('BB_SCRIPT', 'search');
define('BB_ROOT', './');
require(BB_ROOT . 'common.php');
require(INC_DIR . 'bbcode.php');
require(CLASS_DIR . 'utf8.php');
require(CLASS_DIR . 'correct.php');