mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -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
|
@ -42,12 +42,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
|
||||
$mode = request_var('mode', '');
|
||||
$e_mode = request_var('e_mode', '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue