mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -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
|
@ -42,15 +42,15 @@ if ($mode == 'run' && !$job_id) {
|
|||
$user->session_start();
|
||||
redirect('admin/' . basename(__FILE__) . '?mode=list');
|
||||
} else {
|
||||
require('./pagestart.php');
|
||||
require __DIR__ . '/pagestart.php';
|
||||
}
|
||||
|
||||
if (!IS_SUPER_ADMIN) {
|
||||
bb_die($lang['NOT_ADMIN']);
|
||||
}
|
||||
|
||||
require(INC_DIR . 'functions_admin_torrent.php');
|
||||
require(INC_DIR . 'functions_admin_cron.php');
|
||||
require INC_DIR . '/functions_admin_torrent.php';
|
||||
require INC_DIR . '/functions_admin_cron.php';
|
||||
|
||||
$sql = DB()->fetch_rowset("SELECT * FROM " . BB_CONFIG . " WHERE config_name = 'cron_enabled' OR config_name = 'cron_check_interval'");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue