mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -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
|
@ -32,8 +32,6 @@
|
|||
*/
|
||||
function delete_attachment($post_id_array = 0, $attach_id_array = 0, $page = 0, $user_id = 0)
|
||||
{
|
||||
global $bb_cfg;
|
||||
|
||||
// Generate Array, if it's not an array
|
||||
if ($post_id_array === 0 && $attach_id_array === 0 && $page === 0) {
|
||||
return;
|
||||
|
|
|
@ -52,9 +52,9 @@ function attachment_quota_settings($admin_mode, $submit = false, $mode)
|
|||
$upload_dir = BB_ROOT . $attach_config['upload_dir'];
|
||||
}
|
||||
|
||||
include(ATTACH_DIR . 'includes/functions_selects.php');
|
||||
include ATTACH_DIR . '/includes/functions_selects.php';
|
||||
if (!function_exists("process_quota_settings")) {
|
||||
include(ATTACH_DIR . 'includes/functions_admin.php');
|
||||
include ATTACH_DIR . '/includes/functions_admin.php';
|
||||
}
|
||||
|
||||
$user_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue