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

evo: add new library for mail_capture module and php 5.4

parent 3e76d233
No related branches found
No related tags found
No related merge requests found
......@@ -181,10 +181,18 @@ class Install extends functions
public function isIniErrorRepportingRequirements()
{
if (ini_get('error_reporting') <> 22519) {
return false;
if (version_compare(PHP_VERSION, '5.4') < 0) {
if (ini_get('error_reporting') <> 22519) {
return false;
} else {
return true;
}
} else {
return true;
if (ini_get('error_reporting') <> 24567) {
return false;
} else {
return true;
}
}
}
......
......@@ -73,6 +73,9 @@ if (!defined('_GD')) {
if (!defined('_SVN')) {
define('_SVN', "svn library");
}
if (!defined('_IMAP')) {
define('_IMAP', "imap library");
}
if (!defined('_PEAR')) {
define('_PEAR', "PEAR");
}
......
......@@ -71,6 +71,9 @@ if (!defined('_GD')) {
if (!defined('_SVN')) {
define('_SVN', "librairie svn");
}
if (!defined('_IMAP')) {
define('_IMAP', "librairie imap");
}
if (!defined('_PEAR')) {
define('_PEAR', "PEAR");
}
......
......@@ -124,6 +124,19 @@
<?php echo _SVN; ?>
</td>
</tr>
<tr>
<td class="voyantPrerequisites">
<?php echo $Class_Install->checkPrerequisites(
$Class_Install->isPhpRequirements(
'imap'
),
true
); ?>
</td>
<td>
<?php echo _IMAP; ?>
</td>
</tr>
<tr>
<td>&nbsp;
......
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