mirror of
https://github.com/filegator/filegator.git
synced 2025-08-15 10:44:01 +02:00
timezone support/config added, fixed #102
This commit is contained in:
@@ -17,6 +17,9 @@ class Config
|
||||
public function __construct(array $config = [])
|
||||
{
|
||||
$this->config = $config;
|
||||
|
||||
$timezone = isset($this->config['timezone']) ? $this->config['timezone'] : 'UTC';
|
||||
date_default_timezone_set($timezone);
|
||||
}
|
||||
|
||||
public function get($key = null, $default = null)
|
||||
|
Reference in New Issue
Block a user