Revision 2119
Added by darkviper almost 10 years ago
28 Dec-2014 Build 2119 Manuela v.d.Decken(DarkViper)
- admin/login/ little fixes
index.php | ||
---|---|---|
16 | 16 |
*/ |
17 | 17 |
|
18 | 18 |
// Include the configuration file |
19 |
$config_file = realpath('../../config.php');
|
|
20 |
if(file_exists($config_file) && !defined('WB_URL')) {
|
|
21 |
require_once($config_file);
|
|
19 |
$sStartFile = dirname(dirname(__DIR__)).'/framework/initialize.php';
|
|
20 |
if (!defined('SYSTEM_RUN')) {
|
|
21 |
require($sStartFile);
|
|
22 | 22 |
} |
23 | 23 |
//if(!class_exists('login', false)){ require_once(WB_PATH.'/framework/class.login.php'); } |
24 | 24 |
//if(!class_exists('frontend', false)){ require_once(WB_PATH.'/framework/class.frontend.php'); } |
... | ... | |
54 | 54 |
'PASSWORD_FIELDNAME' => $password_fieldname, |
55 | 55 |
'REMEMBER_ME_OPTION' => SMART_LOGIN, |
56 | 56 |
'MIN_USERNAME_LEN' => '2', |
57 |
'MIN_PASSWORD_LEN' => '6',
|
|
57 |
'MIN_PASSWORD_LEN' => '3',
|
|
58 | 58 |
'MAX_USERNAME_LEN' => '30', |
59 | 59 |
'MAX_PASSWORD_LEN' => '30', |
60 | 60 |
'LOGIN_URL' => ADMIN_URL."/login/index.php", |
Also available in: Unified diff