X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Flib%2Flib.php;h=0d6ab36d5b97e2ce765babc734632dcd5ac520db;hp=90b0ddf9e4bdc5bbb10d3056ccfc35bae59b0337;hb=c3c37cd9f486175adf0351de80c19efd02892ca6;hpb=684d7cc6c2ce6ba3f1ca5c48dda5c4efa9448455 diff --git a/authserver/lib/lib.php b/authserver/lib/lib.php index 90b0ddf..0d6ab36 100644 --- a/authserver/lib/lib.php +++ b/authserver/lib/lib.php @@ -44,10 +44,11 @@ function generateRandomString() function updateRadius() { // this is hardcoded for now. - $clientfile = "/opt/freeradius/clients.conf"; + $clientfile = "/tmp/clients.conf"; $db = getDatabase(); + echo "in updateradius\n"; $hand = fopen($clientfile, "w"); $sql = "select * from radclients"; $res = $db->query($sql);