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

Home » FUDforum Development » Bug Reports » $INCLUDE and FUD API
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: $INCLUDE and FUD API [message #187769 is a reply to message #187768] Fri, 20 September 2019 17:45 Go to previous messageGo to previous message
BugLaden is currently offline  BugLaden   South Africa
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma:
Senior Member
Line 12 in GLOBALS.php is:
$GLOBALS['INCLUDE']             = '/home2/bugladen/cake/tobacconerd/FUDforum/include/';

but line 117 is
require($INCLUDE .'core.inc');

It seems like 117 should be changed to
require($GLOBALS['INCLUDE'] .'core.inc');

and this gets rid of the error I reported in the OP.

There are two other instances of $INCLUDE found using grep
./include/glob.inc:     $stripped_globals = str_replace('require($INCLUDE .\'core.inc\');', '', $globals);
./src/post.php.t:                               $data = file_get_contents($INCLUDE .'theme/'. $usr->theme_name .'/usercp.inc');


-=BugLaden
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Convert EML to MSG?
Next Topic: Defunct messengers are still referenced in the UCP
Goto Forum:
  

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

Current Time: Sun Dec 22 16:12:53 GMT 2024

Total time taken to generate the page: 0.04335 seconds