mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 14:26:18 +08:00

Bugfix SALT.php failed on initialization Cleanup unused and obsolete constants and php settings
17 lines
317 B
PHP
17 lines
317 B
PHP
<?php
|
|
|
|
if (!defined('APP_VERSION'))
|
|
{
|
|
define('APP_VERSION', '0.0.0');
|
|
define('APP_INDEX_ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
|
}
|
|
|
|
if (file_exists('snappymail/v/'.APP_VERSION.'/include.php'))
|
|
{
|
|
include 'snappymail/v/'.APP_VERSION.'/include.php';
|
|
}
|
|
else
|
|
{
|
|
echo '[105] Missing version directory';
|
|
exit(105);
|
|
}
|