The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to be able to enable debug mode on vB 3.6.4
I have already tried placing the following in config.php as I used to on older versions but it does not seem to work now. if ($REMOTE_ADDR == 'xxx.xxx.xxx.xxx') { $config['Misc']['debug'] = true; } Any help would be appreciated. |
#2
|
||||
|
||||
![]()
$REMOTE_ADDR probably isn't set. Try $_SERVER['REMOTE_ADDR'].
|
#3
|
|||
|
|||
![]()
Just use vBulletin's IPADDRESS.
It is already defined by the time config.php is loaded. |
#4
|
|||
|
|||
![]()
What exactly are you referring to when you say "vBulletins IP address"?
|
#5
|
|||
|
|||
![]() Quote:
![]() He's telling you to use that constant instead, like this; PHP Code:
|
#6
|
|||
|
|||
![]()
So i should put that in my config file instead?
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|