DraX
05-04-2007, 10:00 PM
I had a hard time finding the answer to this in the existing articles, and for those developing add-ons on a live site this seemed like it could be quite useful.
To enable Debug mode ONLY in the Admin CP, add the following lines anywhere in the config.php file:
if (VB_AREA == 'AdminCP') {
$config['Misc']['debug'] = true;
}
This works best if you're the ONLY person with access to the AdminCP
To enable Debug mode ONLY in the Admin CP, add the following lines anywhere in the config.php file:
if (VB_AREA == 'AdminCP') {
$config['Misc']['debug'] = true;
}
This works best if you're the ONLY person with access to the AdminCP