index 801bba2cd64b0055304c971bf23a55f3c48510c2..7ae17215482ce4e337e8931d158c6f5df985f8f4 100644 (file)
header("Content-type: text/html; charset=UTF-8");
-session_start();
+session::start();
/* Destroy old session if exists.
Else you will get your old session back, if you not logged out correctly. */
/* Set the text domain as 'messages' */
$domain = 'messages';
-bindtextdomain($domain, "$BASE_DIR/locale");
+bindtextdomain($domain, LOCALE_DIR);
textdomain($domain);
/* Generate server list */