mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Improved app booting
Bugfix SALT.php failed on initialization Cleanup unused and obsolete constants and php settings
This commit is contained in:
parent
b80e62adfc
commit
f92d453e8b
8 changed files with 279 additions and 319 deletions
|
|
@ -3,12 +3,12 @@
|
|||
if (!defined('APP_VERSION'))
|
||||
{
|
||||
define('APP_VERSION', '0.0.0');
|
||||
define('APP_INDEX_ROOT_PATH', strtr(__DIR__, DIRECTORY_SEPARATOR, '/') . '/');
|
||||
define('APP_INDEX_ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
if (file_exists(APP_INDEX_ROOT_PATH.'snappymail/v/'.APP_VERSION.'/include.php'))
|
||||
if (file_exists('snappymail/v/'.APP_VERSION.'/include.php'))
|
||||
{
|
||||
include APP_INDEX_ROOT_PATH.'snappymail/v/'.APP_VERSION.'/include.php';
|
||||
include 'snappymail/v/'.APP_VERSION.'/include.php';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue