Not Solved A question about MyBB globals
#1
Not Solved
Is it possible to set values when using MyBB globals? For example, if I were to write
$mybb->user['username'] = 'foo';
would that work?
Reply
#2
Not Solved
This user has been denied support. This user has been denied support.
Depends on what you mean by "would that work". These variables are not write protected so yes you can assign values to them. But if the result of that will be what you expect, that is highly doubtful. MyBB and plugins rely on these variables having the correct, untampered values in them. Changing them might break things bad.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)