From 545199d2bff4f29c8700cc125b73fb3d97e08a77 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Mon, 8 Jul 2013 22:55:28 +0000 Subject: [PATCH] Add PROJECT_PATH to the extension class path. --- resources/switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index 94213d8cfa..550cb5de92 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -3629,7 +3629,7 @@ if (!function_exists('save_switch_xml')) { save_dialplan_xml(); } if (is_readable($_SESSION['switch']['extensions']['dir'])) { - require_once "app/extensions/resources/classes/extension.php"; + require_once PROJECT_PATH."app/extensions/resources/classes/extension.php"; $extension = new extension; $extension->xml(); }