Actions

Translations

Optional settings/11/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "=Ontwikkeling= *'''$debug:''' Met deze instelling zet je de PHP-errormededelingen op niveau E_ALL. Dit betekent dat elke afwijking op een script getoond wordt. Zet $debug op '...")
 
No edit summary
Line 1: Line 1:
=Ontwikkeling=
=Ontwikkeling=
*'''$debug:''' Met deze instelling zet je de PHP-errormededelingen op niveau E_ALL. Dit betekent dat elke afwijking op een script getoond wordt. Zet $debug op '1' als je de applicatie aan het debuggen bent, of '2' als je een ontwikkelaar bent. Laat deze waarde in productieomgeving op (de standaard) '0' staan, anders kunnen hackers mogelijk belangrijke informatie inzien.
*'''$debug:''' Met deze instelling zet je de PHP-error mededelingen op niveau E_ALL. Dit betekent dat elke afwijking op een script getoond wordt. Zet $debug op '1' als je de applicatie aan het debuggen bent, of '2' als je een ontwikkelaar bent. Laat deze waarde in productieomgeving op (de standaard) '0' staan, anders kunnen hackers mogelijk belangrijke informatie inzien.

Revision as of 15:16, 25 May 2013

Message definition (Optional settings)
=Development and debugging=
*'''debug:''' With this setting, you set the PHP error reporting to E_ALL. This means that every little notice, warning or error related to the script is shown. This setting should be only switched to '1' if you are trying to debug the application for any reason. If you are a developer, switch it to '2'. Don't switch it to '1' or '2' in production since it might cause path disclosure. The default value is '0' and it can be edited in config.php. 
*'''debugsql:''' Activate this setting if you want to display all SQL queries executed for the script on the bottom of each page. Very useful for the optimization of the the number of queries. In order to activate it, change the default value to '1' from the config.php file.
*'''use_asset_manager:''' By default : debug mode disable asset manager, you can allow you to use asse manager with debug mode enable.

Ontwikkeling

  • $debug: Met deze instelling zet je de PHP-error mededelingen op niveau E_ALL. Dit betekent dat elke afwijking op een script getoond wordt. Zet $debug op '1' als je de applicatie aan het debuggen bent, of '2' als je een ontwikkelaar bent. Laat deze waarde in productieomgeving op (de standaard) '0' staan, anders kunnen hackers mogelijk belangrijke informatie inzien.