Debug Off?


Subject: Debug Off?
I see this in my footer:

Debug On

I heard turning it off makes your site consume LESS CPU/render time? How do I turn this off?

Profile PM  
Subject: Re: Debug Off?
Open

includes/constants.php

Find And Set:

Code: [Download] [Hide] [Select]
For Debug Off

// Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 0); // Debugging off

For Debug On

// Debug Level
define('DEBUG', 1); // Debugging on
//define('DEBUG', 0); // Debugging off

Subject: Re: Debug Off?
Wow, it works. Thanks!
And debug does? Shows errors or does what again? :o

Profile PM  
Subject: Re: Debug Off?
i don't know how it works :P

only how to activate an deactivate it :mricy:

Subject: Re: Debug Off?
Shaythong wrote: [View Post]
Wow, it works. Thanks!
And debug does? Shows errors or does what again? :o

It shows more detailed errors so you can understand why the errors are generated and fix them.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1662s (PHP: 14% SQL: 86%)
SQL queries: 10 - Debug Off - GZIP Enabled