diff --git a/CHANGELOG b/CHANGELOG index cec7ae7..acaa8a8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +Version 1.16 - Apr. 13, 2016 Use constants for configuration Simplify extreme captcha code generation Add language setting to profile diff --git a/chat.php b/chat.php index a8250c0..614dc47 100644 --- a/chat.php +++ b/chat.php @@ -38,6 +38,7 @@ $U=array();// This user data $countmods=0;// Present moderators $db;// Database connection $memcached;// Memcached connection +$language;// user selected language load_config(); // set session variable to cookie if cookies are enabled if(!isSet($_REQUEST['session']) && isSet($_COOKIE[COOKIENAME])){ @@ -1246,20 +1247,20 @@ function send_linkfilter($arg=''){ } function send_frameset(){ - global $H, $I, $U; + global $H, $I, $U, $language; echo "
$H[meta_html]"; echo '