more fixes for missing extensions
[mailer.git] / 0.2.1 / inc / modules / chk_login.php
index 9b4e6b831363af4c9dc02302b3679e8bb8780028..9be4517da900ab7d470195e236f3d02463c3aeb2 100644 (file)
@@ -55,8 +55,8 @@ if (!empty($GLOBALS['userid']) && !empty($_COOKIE['u_hash']) && !empty($_COOKIE[
        $_COOKIE['mxchange_theme'] = $NewTheme;
 
        $bonus = false;
-       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1"))
-       {
+       die("<pre>".print_r($CONFIG, true)."</pre>");
+       if ((GET_EXT_VERSION("sql_patches") >= "0.2.8") && (GET_EXT_VERSION("bonus") >= "0.2.1")) {
                // Update last login
                $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data
 SET last_login=UNIX_TIMESTAMP()