diff --git a/core/init_core.inc.php b/core/init_core.inc.php index ff6ea32..1ddb6c0 100644 --- a/core/init_core.inc.php +++ b/core/init_core.inc.php @@ -155,7 +155,7 @@ $root = $_SERVER['DOCUMENT_ROOT'] . $config['path']; */ require dirname(__FILE__, 2) .'/inc/lang.class.php'; $lang=new lang(); - +$lang->setlang($config['lang']); /** * Check if we have a Theme variable and the Theme exists diff --git a/install/sql/dump.sql b/install/sql/dump.sql index d5f784e..f4c90ea 100755 --- a/install/sql/dump.sql +++ b/install/sql/dump.sql @@ -257,7 +257,7 @@ DROP TABLE IF EXISTS `as_sessions`; CREATE TABLE IF NOT EXISTS `as_sessions` ( `sid` varchar(32) NOT NULL default '', `uid` int(10) unsigned NOT NULL default '0', - `ip` varchar(40) NOT NULL default '', + `ip` VARBINARY(16) NOT NULL, `time` bigint(30) NOT NULL default '0', `location` varchar(150) NOT NULL default '', `useragent` varchar(100) NOT NULL default '',