Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 2 Months ago [PHP] Can't able to get uid with $mybb
#4
Solved: 9 Years, 2 Months ago
This user has been denied support. This user has been denied support.
You're requiring global.php already, which has mybb defined (it requests from inc/init.php where $mybb variable's formation starts) hence it works.

But when function comes, it does not use the file (here, global.php as it's outside the function) and hence we have to define $mybb in globals for it to get work there.
Jump to the post that solved this thread.


Messages In This Thread
RE: [PHP] Can't able to get uid with $mybb - by crazy4cs - 2012-11-18, 06:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)