Changeset 117

Show
Ignore:
Timestamp:
06/01/07 08:46:15 (1 year ago)
Author:
ken
Message:

Fixed get_connected_users() for atheros interfaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Pyramid/dist/var/www/admin/include/functions.php

    r106 r117  
    534534                        $users_num++; 
    535535        } 
     536        echo "Prism2"; 
     537        echo $users_num; 
    536538        return $users_num; 
    537539   } 
     
    540542   { 
    541543        global $madwifi_device_path; 
    542         $filename = $madwifi_device_path.$device."/associated_sta"; 
     544        $filename = "/proc/net/madwifi/".$madwifi_device_path.$device."/associated_sta"; 
    543545        $file_contents=file_get_contents($filename); 
    544546        $whole_lines=explode("\n",$file_contents); 
     
    549551                                        } 
    550552        } 
     553        echo "Atheros"; 
     554        echo $users_num; 
    551555     
    552556    return $users_num;