From 232ad31553060dfa0083ec2775938c595e53fed3 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 31 Aug 2022 16:23:01 +0200 Subject: [PATCH] Resolve #507 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {