mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #852
This commit is contained in:
parent
dcd1d1cbd4
commit
745a3603fe
2 changed files with 5 additions and 6 deletions
|
|
@ -212,6 +212,11 @@ class ActionsAdmin extends Actions
|
||||||
'name' => 'PHP ' . PHP_VERSION,
|
'name' => 'PHP ' . PHP_VERSION,
|
||||||
'loaded' => true,
|
'loaded' => true,
|
||||||
'version' => PHP_VERSION
|
'version' => PHP_VERSION
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'PHP 64bit',
|
||||||
|
'loaded' => PHP_INT_SIZE == 8,
|
||||||
|
'version' => PHP_INT_SIZE
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
foreach (['APCu', 'cURL','GnuPG','GD','Gmagick','Imagick','iconv','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) {
|
foreach (['APCu', 'cURL','GnuPG','GD','Gmagick','Imagick','iconv','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) {
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,6 @@ if (defined('APP_VERSION')) {
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
exit(301);
|
exit(301);
|
||||||
}
|
}
|
||||||
if (PHP_INT_SIZE < 8) {
|
|
||||||
echo '<p style="color: red">';
|
|
||||||
echo '[301] Your PHP version is 32bit, 64bit is required!';
|
|
||||||
echo '</p>';
|
|
||||||
exit(301);
|
|
||||||
}
|
|
||||||
|
|
||||||
$aOptional = array(
|
$aOptional = array(
|
||||||
'cURL' => extension_loaded('curl'),
|
'cURL' => extension_loaded('curl'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue