Rozdiely pre Metafox/cfgldr.inc.php medzi verziami 1.34 a 1.35
| verzia 1.34, 2015/01/20 15:20:16 |
verzia 1.35, 2015/09/25 13:14:49 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/cfgldr.inc.php,v 1.33 2014-04-23 18:00:56 igor Exp $ */ |
/* $Platon: Metafox/cfgldr.inc.php,v 1.34 2015-01-20 15:20:16 igor 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 295 if ($last_ver === false) { |
|
| Riadok 295 if ($last_ver === false) { |
|
| } |
} |
| $ezin_cfg = ezin_get_config(); |
$ezin_cfg = ezin_get_config(); |
| ezin_set_db_encoding(); |
ezin_set_db_encoding(); |
| |
switch ($ezin_cfg['encoding']) { // 2015-09-25 10:59 Igor |
| |
default: |
| |
case 'utf-8': |
| |
case 'us-ascii': |
| |
$encoding_for_htmlspecialchars = 'UTF-8'; |
| |
break; |
| |
case 'iso-8859-1': |
| |
case 'iso-8859-2': |
| |
$encoding_for_htmlspecialchars = 'ISO-8859-1'; |
| |
break; |
| |
case 'windows-1250': |
| |
$encoding_for_htmlspecialchars = 'cp1252'; |
| |
break; |
| |
} |
| |
ini_set('default_charset', $encoding_for_htmlspecialchars); // 2015-08-27 15:21 Igor |
| $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_auth_options['cookie']['name'] = sprintf('%s-%s-%s', |
| $ezin_sys['software']['name'], $ezin_cfg['abbreviation'], 'AuthDB'); |
$ezin_sys['software']['name'], $ezin_cfg['abbreviation'], 'AuthDB'); |
Platon Group <platon@platon.sk> http://platon.sk/
|
|