FirePHP
asks me to add debug function call on every .php page:
require_once('FirePHPCore/FirePHP.class.php');
ob_start();
It ist't a problem on my local machine. But I want to remove/disable them when my code is working in real world.
Is there any "debug mode" variable to disable them or tool to remove them?
Just define a constant
define('IS_PRODUCTION', false);
and use it later:
if (!IS_PRODUCTION) {
require_once('FirePHPCore/FirePHP.class.php');
...
}