mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Change paths to absolute pathname
This commit is contained in:
parent
8de3cbfba5
commit
064175c67d
81 changed files with 297 additions and 303 deletions
|
@ -27,9 +27,8 @@ if (!empty($setmodules)) {
|
|||
$module['GENERAL']['TERMS'] = basename(__FILE__);
|
||||
return;
|
||||
}
|
||||
require('./pagestart.php');
|
||||
|
||||
require(INC_DIR . 'bbcode.php');
|
||||
require __DIR__ . '/pagestart.php';
|
||||
require INC_DIR . '/bbcode.php';
|
||||
|
||||
if (isset($_POST['post']) && $bb_cfg['terms'] != $_POST['message']) {
|
||||
bb_update_config(array('terms' => $_POST['message']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue