FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » API function to authenticate users
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: API function to authenticate users [message #27178 is a reply to message #27176] Mon, 29 August 2005 19:15 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
That was quick! Thank you very much.

Can you please also apply this patch (untested):

--- forum_login.php.old 2005-08-29 14:11:34.000000000 -0500
+++ forum_login.php     2005-08-29 14:12:06.000000000 -0500
@@ -49,7 +49,7 @@
        eval(str_replace('<?php', '', substr_replace($data, '', strpos($data, 'require'))));

        /* db.inc needs certain vars inside the global scope to work, so we export them */
-       foreach (array('FUD_OPT_1', 'DBHOST', 'DBHOST_USER', 'DBHOST_PASSWORD', 'DBHOST_DBNAME') as $v) {
+       foreach (array('FUD_OPT_1', 'DBHOST', 'DBHOST_USER', 'DBHOST_PASSWORD', 'DBHOST_DBNAME', 'DATA_DIR') as $v) {
                $GLOBALS[$v] = $$v;
        }


Best regards.

Frank
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "Save outgoing PM" toggle in User CP-->Settings and form
Next Topic: mark topics as bookmark in fudforum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 07 18:39:18 GMT 2024

Total time taken to generate the page: 0.04771 seconds