diff --git a/index.php b/index.php index efcc8acd1..bce64d161 100644 --- a/index.php +++ b/index.php @@ -6,9 +6,9 @@ if (!defined('APP_VERSION')) define('APP_INDEX_ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -if (file_exists('snappymail/v/'.APP_VERSION.'/include.php')) +if (file_exists(APP_INDEX_ROOT_PATH.'snappymail/v/'.APP_VERSION.'/include.php')) { - include 'snappymail/v/'.APP_VERSION.'/include.php'; + include APP_INDEX_ROOT_PATH.'snappymail/v/'.APP_VERSION.'/include.php'; } else {