mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
This commit is contained in:
@@ -125,8 +125,8 @@ class email {
|
||||
//includes
|
||||
require_once('resources/pop3/mime_parser.php');
|
||||
require_once('resources/pop3/rfc822_addresses.php');
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"] . "/app/emails/email_transcription.php")) {
|
||||
require_once($_SERVER["PROJECT_ROOT"] . "/app/emails/email_transcription.php");
|
||||
if (file_exists(dirname(__DIR__, 2) . "/app/emails/email_transcription.php")) {
|
||||
require_once(dirname(__DIR__, 2) . "/app/emails/email_transcription.php");
|
||||
}
|
||||
|
||||
//parse the email message
|
||||
|
||||
Reference in New Issue
Block a user