| verzia 1.32, 2014/02/22 05:27:20 |
verzia 1.33, 2014/04/23 18:00:56 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/cfgldr.inc.php,v 1.31 2014-01-02 11:02:25 igor Exp $ */ |
/* $Platon: Metafox/cfgldr.inc.php,v 1.32 2014-02-22 05:27:20 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 63 if (! strncmp(php_uname(), 'Windows', 7) |
|
| Riadok 63 if (! strncmp(php_uname(), 'Windows', 7) |
|
| */ |
*/ |
| |
|
| @require_once 'Platon.php'; |
@require_once 'Platon.php'; |
| $ezin_sys['time']['start'] = Platon::get_mtime(); |
$ezin_sys['time']['start'] = @Platon::get_mtime(); |
| |
|
| /* |
/* |
| * Database connection constants |
* Database connection constants |
| Riadok 78 if (! @file_exists($ezin_db_config_file) |
|
| Riadok 78 if (! @file_exists($ezin_db_config_file) |
|
| require_once $ezin_db_config_file; |
require_once $ezin_db_config_file; |
| |
|
| /* |
/* |
| |
* Error reporting by config |
| |
*/ |
| |
error_reporting(!empty($ezin_sys['error_reporting']) ? $ezin_sys['error_reporting'] : E_ALL); |
| |
|
| |
/* |
| * Table constats |
* Table constats |
| */ |
*/ |
| |
|
| Riadok 306 if (!empty($ezin_cfg['languages'])) { |
|
| Riadok 311 if (!empty($ezin_cfg['languages'])) { |
|
| count($ezin_cfg['languages']) > 0 || $ezin_cfg['languages'] = ''; |
count($ezin_cfg['languages']) > 0 || $ezin_cfg['languages'] = ''; |
| } |
} |
| if (intval(@$ezin_cfg['debug']) == 0) { |
if (intval(@$ezin_cfg['debug']) == 0) { |
| error_reporting(E_ALL & (~ E_NOTICE)); |
error_reporting(!empty($ezin_sys['error_reporting']) ? $ezin_sys['error_reporting'] : (E_ALL & (~ E_NOTICE))); |
| } |
} |
| |
|
| /* |
/* |