Changeset 2902 for trunk/admin/site_manager.php
- Timestamp:
- Nov 23, 2008, 6:23:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_manager.php
r2530 r2902 45 45 global $template, $page; 46 46 47 if($lines = @file($url)) 48 { 47 if (fetchRemote($url, $result)) 48 { 49 $lines = explode("\r\n", $result); 49 50 // cleaning lines from HTML tags 50 51 foreach ($lines as $line) … … 113 114 $clf_url.= '?action=test'; 114 115 $clf_url.= '&version='.PHPWG_VERSION; 115 if ( ($lines = @file($clf_url)) !== false)116 if (fetchRemote($clf_url, $result)) 116 117 { 118 $lines = explode("\r\n", $result); 117 119 $first_line = strip_tags($lines[0]); 118 120 if (!preg_match('/^PWG-INFO-2:/', $first_line))
Note: See TracChangeset
for help on using the changeset viewer.