json content

This commit is contained in:
admin@arionum.com
2018-10-13 21:03:24 +03:00
parent 17acd5830e
commit c25ccfe064
4 changed files with 35 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.
*/
require_once("include/init.inc.php");
header('Content-Type: application/json');
$trx = new Transaction();
$block = new Block();
$q = $_GET['q'];