Changeset 5773
- Timestamp:
- 06/14/08 20:22:02 (4 months ago)
- Files:
-
- freepbx/trunk/amp_conf/htdocs/admin/common/json.inc.php (modified) (1 diff)
- freepbx/trunk/amp_conf/htdocs/admin/config.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/common/json.inc.php
r4993 r5773 103 103 * // convert a complexe value to JSON notation, and send it to the browser 104 104 * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4))); 105 * header("Content-type: application/json"); 105 106 * $output = $json->encode($value); 106 107 * freepbx/trunk/amp_conf/htdocs/admin/config.php
r5771 r5773 42 42 $response = do_reload(); 43 43 $json = new Services_JSON(); 44 header("Content-type: application/json"); 44 45 echo $json->encode($response); 45 46 break;
