فهرست منبع

Use include instead of require_once.

FusionPBX 4 سال پیش
والد
کامیت
45b011dc5d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      resources/classes/domains.php

+ 1 - 1
resources/classes/domains.php

@@ -488,7 +488,7 @@ if (!class_exists('domains')) {
 
 
 			//get the domains settings
 			//get the domains settings
 				if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php")) {
 				if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php")) {
-					require_once "app/domains/resources/settings.php";
+					include "app/domains/resources/settings.php";
 				}
 				}
 
 
 			//get the domains settings
 			//get the domains settings