snappymail/index.php
djmaze f92d453e8b Improved app booting
Bugfix SALT.php failed on initialization
Cleanup unused and obsolete constants and php settings
2021-12-23 16:04:40 +01:00

18 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);
}