Skip to content
Snippets Groups Projects
Commit 24da1019 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

evo: translation & improvement for error_reporting

parent a8b03e31
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,15 @@ if (!defined('_MBSTRING')) {
if (!defined('_XSL')) {
define('_XSL', "xsl library");
}
if (!defined('_XMLRPC')) {
define('_XMLRPC', "XML-RPC library");
}
if (!defined('_FILEINFO')) {
define('_FILEINFO', "fileinfo library");
}
if (!defined('_GETTEXT')) {
define('_GETTEXT', "gettext library");
}
if (!defined('_PEAR')) {
define('_PEAR', "PEAR");
}
......@@ -92,8 +101,10 @@ if (!defined('_CLITOOLS')) {
define('_CLITOOLS', "CLITools");
}
if (!defined('_ERROR_REPORTING')) {
define('_ERROR_REPORTING', "error_reporting if php version < 5.4 so E_ALL & ~E_NOTICE & ~E_DEPRECATED"
. " else E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT");
if (version_compare(PHP_VERSION, '5.4.0') >= 0)
define('_ERROR_REPORTING', "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT");
else
define('_ERROR_REPORTING', "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED");
}
if (!defined('_DISPLAY_ERRORS')) {
define('_DISPLAY_ERRORS', "display_errors (On)");
......
......@@ -80,6 +80,15 @@ if (!defined('_MBSTRING')) {
if (!defined('_XSL')) {
define('_XSL', "librairie xsl");
}
if (!defined('_XMLRPC')) {
define('_XMLRPC', "librairie XML-RPC");
}
if (!defined('_FILEINFO')) {
define('_FILEINFO', "librairie fileinfo");
}
if (!defined('_GETTEXT')) {
define('_GETTEXT', "librairie gettext");
}
if (!defined('_PEAR')) {
define('_PEAR', "PEAR");
}
......@@ -90,8 +99,10 @@ if (!defined('_CLITOOLS')) {
define('_CLITOOLS', "CLITools");
}
if (!defined('_ERROR_REPORTING')) {
define('_ERROR_REPORTING', "error_reporting si php version < 5.4 alors E_ALL & ~E_NOTICE & ~E_DEPRECATED "
. "sinon E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT");
if (version_compare(PHP_VERSION, '5.4.0') >= 0)
define('_ERROR_REPORTING', "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT");
else
define('_ERROR_REPORTING', "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED");
}
if (!defined('_DISPLAY_ERRORS')) {
define('_DISPLAY_ERRORS', "display_errors (On)");
......
......@@ -161,7 +161,7 @@
<?php echo _XSL; ?>
</td>
</tr>
<!-- tr>
<tr>
<td class="voyantPrerequisites">
<?php echo $Class_Install->checkPrerequisites(
$Class_Install->isPhpRequirements(
......@@ -172,7 +172,7 @@
<td>
<?php echo _GETTEXT; ?>
</td>
</tr -->
</tr>
<tr>
<td class="voyantPrerequisites">
<?php echo $Class_Install->checkPrerequisites(
......
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