mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Update include.php to use /home/<username>/.snappymail as config/data directory
/home/<username>/var isn´t a standard folder in linux instalation, but put in hidden folder inside home directory is the standard for cpanel addons.
This commit is contained in:
parent
dea7f4d1d8
commit
13f7c6a226
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
* Custom 'data' folder path
|
||||
*/
|
||||
if (!empty($_ENV['CPANEL']) && isset($_ENV['HOME'])) {
|
||||
define('APP_DATA_FOLDER_PATH', $_ENV['HOME'] . '/var/snappymail/');
|
||||
define('APP_DATA_FOLDER_PATH', $_ENV['HOME'] . '/.snappymail/');
|
||||
} else {
|
||||
exit('Not in cPanel');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue