Revision 7
Added by stefan about 19 years ago
trunk/wb/framework/initialize.php | ||
---|---|---|
69 | 69 |
define('DATE_FORMAT', DEFAULT_DATE_FORMAT); |
70 | 70 |
} |
71 | 71 |
} |
72 |
|
|
72 |
// Get users time format |
|
73 |
if(!defined('TIME_FORMAT')) { |
|
74 |
if(isset($_SESSION['TIME_FORMAT'])) { |
|
75 |
define('TIME_FORMAT', $_SESSION['TIME_FORMAT']); |
|
76 |
} else { |
|
77 |
define('TIME_FORMAT', DEFAULT_TIME_FORMAT); |
|
78 |
} |
|
79 |
} |
|
73 | 80 |
// Load Language file |
74 | 81 |
if(!defined('LANGUAGE_LOADED')) { |
75 | 82 |
if(!file_exists(WB_PATH.'/languages/'.LANGUAGE.'.php')) { |
Also available in: Unified diff
TIME_FORMAT definition was missing in initialize.php