projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Workaround for segfaults in some buggy php encoding library versions.
[fa-stable.git]
/
includes
/
prefs
/
sysprefs.inc
diff --git
a/includes/prefs/sysprefs.inc
b/includes/prefs/sysprefs.inc
index cade4c2df8c93ab3f84f7d5d87c76697b5c989f8..34e52bccb706a0d7355096ab7a288c87efbf31fe 100644
(file)
--- a/
includes/prefs/sysprefs.inc
+++ b/
includes/prefs/sysprefs.inc
@@
-21,7
+21,7
@@
class sys_prefs
var $prefs;
var $db_ok; // check whether database has been upgraded after src update.
var $prefs;
var $db_ok; // check whether database has been upgraded after src update.
- function
sys_prefs
()
+ function
__construct
()
{
global $path_to_root;
{
global $path_to_root;
@@
-38,6
+38,9
@@
class sys_prefs
if (!$this->time_zone)
$this->time_zone = 'Europe/Berlin';
if (!$this->time_zone)
$this->time_zone = 'Europe/Berlin';
+
+ if (!isset($this->use_popup_search))
+ $this->use_popup_search = false;
ini_set('date.timezone', $this->time_zone);
}
ini_set('date.timezone', $this->time_zone);
}