mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Move some cPanel code to /usr/local/cpanel/base/3rdparty/snappymail/include.php #697
This commit is contained in:
parent
ce7bcbcaf5
commit
21c0c1ed5d
5 changed files with 41 additions and 11 deletions
37
integrations/cpanel/usr/local/cpanel/base/3rdparty/snappymail/include.php
vendored
Normal file
37
integrations/cpanel/usr/local/cpanel/base/3rdparty/snappymail/include.php
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
//header('Strict-Transport-Security: max-age=31536000');
|
||||
|
||||
/**
|
||||
* Uncomment to use gzip compressed output
|
||||
*/
|
||||
//define('USE_GZIP', 1);
|
||||
|
||||
/**
|
||||
* Uncomment to use brotli compressed output
|
||||
*/
|
||||
//define('USE_BROTLI', 1);
|
||||
|
||||
/**
|
||||
* Uncomment to enable multiple domain installation.
|
||||
*/
|
||||
//define('MULTIDOMAIN', 1);
|
||||
|
||||
/**
|
||||
* Uncomment to disable APCU.
|
||||
*/
|
||||
//define('APP_USE_APCU_CACHE', false);
|
||||
|
||||
/**
|
||||
* Custom 'data' folder path
|
||||
*/
|
||||
if (!empty($_ENV['CPANEL']) && isset($_ENV['HOME'])) {
|
||||
define('APP_DATA_FOLDER_PATH', $_ENV['HOME'] . '/var/snappymail/');
|
||||
} else {
|
||||
exit('Not in cPanel');
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional configuration file name
|
||||
*/
|
||||
//define('APP_CONFIGURATION_NAME', $_SERVER['HTTP_HOST'].'.ini');
|
||||
Loading…
Add table
Add a link
Reference in a new issue