public function readAllConfig()
{
// If configuration files are not there - will silently ignore
foreach ($this->config_files as $file) {
$this->readConfig($file);
}
$tz = $this->getConfig('timezone', null);
if (!is_null($tz) && function_exists('date_default_timezone_set')) {
// with seting default timezone
date_default_timezone_set($tz);
} else {
if (!ini_get('date.timezone')) {
ini_set('date.timezone', 'UTC');
}
}
}