Changeset 13493
- Timestamp:
- 02/20/12 20:15:54 (1 year ago)
- Files:
-
- modules/branches/2.10/dashboard/class.astinfo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/dashboard/class.astinfo.php
r13091 r13493 98 98 $astout = explode("\n",$response['data']); 99 99 foreach ($astout as $line) { 100 $line = trim(str_replace('//','/',$line),'/'); 100 101 if (preg_match('/^(([a-z0-9\-_]+)(\/([a-z0-9\-_]+))?)\s+(\([a-z]+\)|\d{1,3}(\.\d{1,3}){3})/i', $line, $matches)) { 101 102 //matches: [2] = name, [4] = username, [5] = host, [6] = part of ip (if IP)
