mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-06 21:24:12 +08:00
Try to detect gzopen64 function
This commit is contained in:
parent
d3ee36bb97
commit
71af876fb5
6 changed files with 11473 additions and 5754 deletions
5693
rainloop/v/0.0.0/app/libraries/pclzip/_pclzip.lib.php
Normal file
5693
rainloop/v/0.0.0/app/libraries/pclzip/_pclzip.lib.php
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,42 +1,42 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (defined('APP_VERSION'))
|
if (defined('APP_VERSION'))
|
||||||
{
|
{
|
||||||
$aRequirements = array(
|
$aRequirements = array(
|
||||||
'cURL' => function_exists('curl_init'),
|
'cURL' => function_exists('curl_init'),
|
||||||
'iconv' => function_exists('iconv'),
|
'iconv' => function_exists('iconv'),
|
||||||
'json' => function_exists('json_decode'),
|
'json' => function_exists('json_decode'),
|
||||||
'DateTime' => class_exists('DateTime') && class_exists('DateTimeZone'),
|
'DateTime' => class_exists('DateTime') && class_exists('DateTimeZone'),
|
||||||
'libxml' => function_exists('libxml_use_internal_errors'),
|
'libxml' => function_exists('libxml_use_internal_errors'),
|
||||||
'dom' => class_exists('DOMDocument'),
|
'dom' => class_exists('DOMDocument'),
|
||||||
'Zlib' => function_exists('gzopen'),
|
'Zlib' => function_exists('gzopen') || function_exists('gzopen64'),
|
||||||
'PCRE' => function_exists('preg_replace'),
|
'PCRE' => function_exists('preg_replace'),
|
||||||
'SPL' => function_exists('spl_autoload_register')
|
'SPL' => function_exists('spl_autoload_register')
|
||||||
);
|
);
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '5.3.0', '<'))
|
if (version_compare(PHP_VERSION, '5.3.0', '<'))
|
||||||
{
|
{
|
||||||
echo '<p style="color: red">';
|
echo '<p style="color: red">';
|
||||||
echo '[301] Your PHP version ('.PHP_VERSION.') is lower than the minimal required 5.3.0!';
|
echo '[301] Your PHP version ('.PHP_VERSION.') is lower than the minimal required 5.3.0!';
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
exit(301);
|
exit(301);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in_array(false, $aRequirements))
|
if (in_array(false, $aRequirements))
|
||||||
{
|
{
|
||||||
echo '<p>';
|
echo '<p>';
|
||||||
echo '[302] The following PHP extensions are not available in your PHP configuration!';
|
echo '[302] The following PHP extensions are not available in your PHP configuration!';
|
||||||
echo '</p><ul>';
|
echo '</p><ul>';
|
||||||
|
|
||||||
foreach ($aRequirements as $sKey => $bValue)
|
foreach ($aRequirements as $sKey => $bValue)
|
||||||
{
|
{
|
||||||
if (!$bValue)
|
if (!$bValue)
|
||||||
{
|
{
|
||||||
echo '<li>'.$sKey.'</li>';
|
echo '<li>'.$sKey.'</li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
exit(302);
|
exit(302);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -637,7 +637,7 @@
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
|
@ -1142,7 +1142,7 @@ table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -1513,7 +1513,7 @@ table {
|
||||||
.icon-resize-out:before {
|
.icon-resize-out:before {
|
||||||
content: "\e06d";
|
content: "\e06d";
|
||||||
}
|
}
|
||||||
|
|
||||||
/** initial setup **/
|
/** initial setup **/
|
||||||
.nano {
|
.nano {
|
||||||
/*
|
/*
|
||||||
|
@ -1630,7 +1630,7 @@ table {
|
||||||
.nano > .pane2:hover > .slider2, .nano > .pane2.active > .slider2 {
|
.nano > .pane2:hover > .slider2, .nano > .pane2.active > .slider2 {
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Magnific Popup CSS */
|
/* Magnific Popup CSS */
|
||||||
.mfp-bg {
|
.mfp-bg {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -1995,7 +1995,7 @@ img.mfp-img {
|
||||||
right: 0;
|
right: 0;
|
||||||
padding-top: 0; }
|
padding-top: 0; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* overlay at start */
|
/* overlay at start */
|
||||||
.mfp-fade.mfp-bg {
|
.mfp-fade.mfp-bg {
|
||||||
|
@ -2041,7 +2041,7 @@ img.mfp-img {
|
||||||
-moz-transform: translateX(50px);
|
-moz-transform: translateX(50px);
|
||||||
transform: translateX(50px);
|
transform: translateX(50px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple-pace {
|
.simple-pace {
|
||||||
-webkit-pointer-events: none;
|
-webkit-pointer-events: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
@ -2112,7 +2112,7 @@ img.mfp-img {
|
||||||
@keyframes simple-pace-stripe-animation {
|
@keyframes simple-pace-stripe-animation {
|
||||||
0% { transform: none; transform: none; }
|
0% { transform: none; transform: none; }
|
||||||
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
||||||
}
|
}
|
||||||
.inputosaurus-container {
|
.inputosaurus-container {
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
border:1px solid #bcbec0;
|
border:1px solid #bcbec0;
|
||||||
|
@ -2180,7 +2180,7 @@ img.mfp-img {
|
||||||
box-shadow:none;
|
box-shadow:none;
|
||||||
}
|
}
|
||||||
.inputosaurus-input-hidden { display:none; }
|
.inputosaurus-input-hidden { display:none; }
|
||||||
|
|
||||||
.flag-wrapper {
|
.flag-wrapper {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
@ -2224,7 +2224,7 @@ img.mfp-img {
|
||||||
.flag.flag-pt-br {background-position: -192px -11px}
|
.flag.flag-pt-br {background-position: -192px -11px}
|
||||||
|
|
||||||
.flag.flag-cn, .flag.flag-zh-tw, .flag.flag-zh-cn, .flag.flag-zh-hk {background-position: -208px -22px}
|
.flag.flag-cn, .flag.flag-zh-tw, .flag.flag-zh-cn, .flag.flag-zh-hk {background-position: -208px -22px}
|
||||||
|
|
||||||
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
||||||
.clearfix {
|
.clearfix {
|
||||||
*zoom: 1;
|
*zoom: 1;
|
||||||
|
|
8
rainloop/v/0.0.0/static/js/admin.min.js
vendored
8
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
12
rainloop/v/0.0.0/static/js/app.min.js
vendored
12
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue