]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_login.php
Mahor rewrite:
[mailer.git] / inc / modules / guest / what-sponsor_login.php
index 3586e33e88658a1e87de0f0b9cb69969777dec71..895e2280de8cac8ce12b0ae7abe9992b1e87c213 100644 (file)
@@ -226,7 +226,7 @@ WHERE id='%s' AND password='%s' LIMIT 1",
                if ($status == "CONFIRMED") {
                        // Calculate cookie lifetime, maybe we have to change this so the admin can setup a
                        // seperate timeout for these two cookies?
-                       $life = (time() + $_CONFIG['online_timeout']);
+                       $life = (time() + getConfig('online_timeout'));
 
                        // Is confirmed so both is fine and we can continue with login procedure
                        $login = ((setcookie("sponsorid"  , bigintval($_POST['sponsorid']), $life, COOKIE_PATH)) &&