if ($SERVER['QUERYSTRING'] == 'profile') {
define('PSDEBUGPROFILING', true);
}else{
define('PSDEBUGPROFILING', false);
}
```
in my defines.inc.php but when I replace the coresponding lines in the file I can't install modules. It gives 'this functionality has been disabled'. I would like to use this function that way instead of the BO option because it quicker and more convenient.
Question
the.rampage.rado
I want to use this:
```php/* Debug only / if ($_SERVER['QUERY_STRING'] == 'error') { define('_PS_MODE_DEV_', true); }else{ define('_PS_MODE_DEV_', false); } / Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_ === true) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off');
}
if ($SERVER['QUERYSTRING'] == 'profile') { define('PSDEBUGPROFILING', true); }else{
define('PSDEBUGPROFILING', false); } ``` in my defines.inc.php but when I replace the coresponding lines in the file I can't install modules. It gives 'this functionality has been disabled'. I would like to use this function that way instead of the BO option because it quicker and more convenient.
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now