mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Perfomance refactoring. Remove test code. Fix path in config.
This commit is contained in:
parent
e87f1beff0
commit
d816c26284
5 changed files with 61 additions and 87 deletions
|
@ -46,12 +46,6 @@ if (($attach_config['upload_dir'][0] == '/') || (($attach_config['upload_dir'][0
|
|||
|
||||
include ATTACH_DIR . '/includes/functions_selects.php';
|
||||
|
||||
// Check if the language got included
|
||||
if (!isset($lang['TEST_SETTINGS_SUCCESSFUL'])) {
|
||||
// include_once is used within the function
|
||||
include_attach_lang();
|
||||
}
|
||||
|
||||
// Init Vars
|
||||
$types_download = array(INLINE_LINK, PHYSICAL_LINK);
|
||||
$modes_download = array('inline', 'physical');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue