egroupware/phpgwapi/inc/class.translation.inc.php
Ralf Becker fd5576e3ee - phpgw --> egw
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00

8 lines
258 B
PHP

<?php
if (empty($GLOBALS['egw_info']['server']['translation_system']))
{
$GLOBALS['egw_info']['server']['translation_system'] = 'sql';
}
include(EGW_API_INC.'/class.translation_' . $GLOBALS['egw_info']['server']['translation_system'].'.inc.php');
?>