<?php

/*
	Returns an array with all of the users in the program.
		Information retured:
			-idUsr
			-nameUsr
			-eMail
			-roleUsr
*/
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *');
require '../class.categories.inc';
$allCat = categories::allCat();
//Return for jason to work with
echo json_encode($allCat);