mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 09:36:09 +08:00
f92d453e8b
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);
|
|
}
|