Sfoglia il codice sorgente

Added to maintain backwards compatibility

FusionPBX 4 mesi fa
parent
commit
7217aca449
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      index.php

+ 6 - 1
index.php

@@ -42,6 +42,11 @@
 	$language = new text;
 	$text = $language->get();
 
+//create the settings object
+	if (!$settings) {
+		$settings = new settings();
+	}
+
 //set the directory title and mode
 	switch ($_GET["dir"]) {
 		case 'xml':
@@ -623,4 +628,4 @@
 	loadFileList();
 
 </script>
-</html>
+</html>