Browse Source

Update index.php

FusionPBX 11 months ago
parent
commit
8b7cb3d0d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -213,7 +213,6 @@
 */
 */
 
 
 //version 2
 //version 2
-/*
 	function get_value($data, $path) {
 	function get_value($data, $path) {
 		$keys = explode('.', $path);
 		$keys = explode('.', $path);
 		foreach ($keys as $key) {
 		foreach ($keys as $key) {
@@ -221,9 +220,9 @@
 		}
 		}
 		return $data;
 		return $data;
 	}
 	}
-*/
 
 
 //version 1
 //version 1
+	/*
 	function get_value($data, $path) {
 	function get_value($data, $path) {
 		$keys = explode('.', $path);
 		$keys = explode('.', $path);
 		if (count($keys) == 1) {
 		if (count($keys) == 1) {
@@ -242,6 +241,7 @@
 			return $data[$keys[0]][$keys[1]][$keys[2]][$keys[3]][$keys[4]];
 			return $data[$keys[0]][$keys[1]][$keys[2]][$keys[3]][$keys[4]];
 		}
 		}
 	}
 	}
+ 	*/
 
 
 
 
 /*
 /*