| verzia 1.13, 2007/09/16 21:13:29 |
verzia 1.14, 2007/09/22 06:39:55 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/cfgldr.inc.php,v 1.12 2007-03-06 23:33:14 nepto Exp $ */ |
/* $Platon: Metafox/cfgldr.inc.php,v 1.13 2007-09-16 21:13:29 nepto Exp $ */ |
| |
|
| /* |
/* |
| * WARNING! Do not edit this file! Edit rather config/db-config.inc.php file. |
* WARNING! Do not edit this file! Edit rather config/db-config.inc.php file. |
| Riadok 176 $ezin_auth_options = array( /* {{{ */ |
|
| Riadok 176 $ezin_auth_options = array( /* {{{ */ |
|
| after configuration will be loaded from DB */ |
after configuration will be loaded from DB */ |
| 'expired' => 0, /* turned off */ |
'expired' => 0, /* turned off */ |
| |
|
| |
'var' => array( |
| |
'username' => 'ezin_username', |
| |
'password' => 'ezin_password'), |
| |
|
| |
'cookie' => array( |
| |
'name' => $ezin_sys['software']['name'].'-AuthDB', /* default value; changed later */ |
| |
'path' => Platon::append_slash( |
| |
Platon::str_replace_postfix('admin', '', dirname($_SERVER['PHP_SELF']))), |
| |
'domain' => $_SERVER['HTTP_HOST'] |
| |
), |
| |
|
| 'sessions' => array( |
'sessions' => array( |
| 'table' => $ezin_sys['db']['tables']['sessions'], |
'table' => $ezin_sys['db']['tables']['sessions'], |
| 'prefix' => 'session_', |
'prefix' => 'session_', |
| Riadok 227 ezin_check_db_handle(); |
|
| Riadok 238 ezin_check_db_handle(); |
|
| $ezin_cfg = ezin_get_config(); |
$ezin_cfg = ezin_get_config(); |
| ezin_set_db_encoding(); |
ezin_set_db_encoding(); |
| $ezin_auth_options['timeout'] = $ezin_cfg['admin_session_timeout']; |
$ezin_auth_options['timeout'] = $ezin_cfg['admin_session_timeout']; |
| |
$ezin_auth_options['cookie']['name'] = sprintf('%s-%s-%s', |
| |
$ezin_sys['software']['name'], $ezin_cfg['abbreviation'], 'AuthDB'); |
| $ezin_cfg['theme'] = array( |
$ezin_cfg['theme'] = array( |
| 'name' => $ezin_cfg['theme'], |
'name' => $ezin_cfg['theme'], |
| 'dir' => $ezin_sys['dir']['themes'].'/'.$ezin_cfg['theme'], |
'dir' => $ezin_sys['dir']['themes'].'/'.$ezin_cfg['theme'], |