Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, November 7, 2026

Diff for Metafox/cfgldr.inc.php between version 1.36 and 1.37

version 1.36, 2017/06/09 15:12:58 version 1.37, 2017/09/27 23:58:37
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/cfgldr.inc.php,v 1.35 2015/09/25 13:14:49 igor Exp $ */  /* $Platon: Metafox/cfgldr.inc.php,v 1.36 2017/06/09 15:12:58 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.
Line 294  if ($last_ver === false) {
Line 294  if ($last_ver === false) {
         ezin_cache_save('version', $ezin_sys['software']['version'], 0, 0);          ezin_cache_save('version', $ezin_sys['software']['version'], 0, 0);
 }  }
 $ezin_cfg = ezin_get_config();  $ezin_cfg = ezin_get_config();
 ezin_set_db_encoding();  ezin_set_db_encoding($ezin_cfg['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');

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top