|
@@ -24,6 +24,13 @@
|
|
|
Mark J Crane <[email protected]>
|
|
|
*/
|
|
|
|
|
|
+//set the include path
|
|
|
+ $conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE);
|
|
|
+ set_include_path(parse_ini_file($conf[0])['document.root']);
|
|
|
+
|
|
|
+//includes files
|
|
|
+ require_once "resources/require.php";
|
|
|
+
|
|
|
//add multi-lingual support
|
|
|
$language = new text;
|
|
|
$text = $language->get(null,'core/user_settings');
|