Page 1 of 1

Debug on/off in admin pannel?

PostPosted: Fri Apr 14, 2006 5:33 pm
Author: Skywalker
is there a way to set debug mode on or off in the admin pannel?
could someone create this mod?

Re: Debug on/off in admin pannel?

PostPosted: Wed May 03, 2006 5:55 am
Author: found it
The only one I found is this 3 year old mod here..

http://www.phpbb.com/phpBB/viewtopic.ph ... sc&start=0

I have not tested it with inter but the code changes look straight forward...

:mrgreen:

Re: Debug on/off in admin pannel?

PostPosted: Wed May 03, 2006 6:15 am
Author: Michaelo
All config valuse are varchar(255) (seems a waste but)

In constants.php the code is
Code: Select all
 // ### Debug Level -- Setting now available in the ACP - Teelk. ###if ( $board_config['debug_mode'] == 1){define('DEBUG', 1);}else{define('DEBUG', 0);}  


which unless I am mistaken this should be

if ( $board_config['debug_mode'] == '1')


Mike

PostPosted: Wed May 03, 2006 6:16 am
Author: macarlisle
What are the benefits to getting the debug turned off?

Re: Debug on/off in admin pannel?

PostPosted: Wed May 03, 2006 6:30 am
Author: found it
i personally believe they are beter left on ....from an admin point of view...

though al ot of people think it will speed up your board and is less atrusive...

I ddont honestly know the real benefits..maybe someone else can give a better insight...


which unless I am mistaken this should be

if ( $board_config['debug_mode'] == '1')


that does look like how it should be....though i never check all the coding just that it wasnt difficult to install

[size=99px]Maybe I should have placed a warning saying 3 year old mod be very careful[/font][/size] lol

:mrgreen:

PostPosted: Wed May 03, 2006 6:34 am
Author: Michaelo
I believe Teelk added to the first version of 1.4.1. I have updated the code in the 1.4.1 betaà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
Mike

Some people say the site is faster if Debug if off but to be honest I don't think it makes much difference... <img>