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