radius clients stuff
[ga4php.git] / authserver / lib / lib.php
index 90b0ddf..0d6ab36 100644 (file)
@@ -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);