Skip to content
Snippets Groups Projects
Commit c07dccc6 authored by Prasad's avatar Prasad
Browse files

Restored production level error_reporting during install

parent 165ebc0d
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class Install_Index_view extends Vtiger_View_Controller {
protected function applyInstallFriendlyEnv() {
// config.inc.php - will not be ready to control this yet.
version_compare(PHP_VERSION, '5.5.0') <= 0 ? error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED) : error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT); // Production
version_compare(PHP_VERSION, '7.0.0') >= 0 ? error_reporting(E_WARNING & ~E_NOTICE) : error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & E_ERROR & ~E_STRICT); // Debug
//version_compare(PHP_VERSION, '7.0.0') >= 0 ? error_reporting(E_WARNING & ~E_NOTICE) : error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & E_ERROR & ~E_STRICT); // Debug
set_time_limit(0); // override limits on execution time to allow install to finish
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment