Perfomance refactoring. Remove test code. Fix path in config.

This commit is contained in:
Vasily Komrakov 2017-02-19 18:54:33 +03:00
commit d816c26284
No known key found for this signature in database
GPG key ID: 558236680C20A69A
5 changed files with 61 additions and 87 deletions

View file

@ -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', '');