$Mybb Variable List
#21
Can the predefined myBB variable be used in subdomain or subfolder?

I tried with 2 setups as below, but could not call any predefined var.

Case 1 - Subdomain
Address: Subdomain.domain.com
Folder structure: public_html/domain.com/
Subdomain: public_html/subdomain/ (same level as domain)

Case 2 - Subfolder
Address: domain.com/subfolder
Folder structure: public_html/domain.com/subfolder
Reply
#22
As long as you include global.php, everything will be available the same way.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#23
Thank you Matt.

It also needs to add this line as well.
define("IN_MYBB", 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)