Changeset 683 for trunk/Modules/News/ImportTvBeskyd.php
- Timestamp:
- Aug 5, 2014, 11:02:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/ImportTvBeskyd.php
r635 r683 16 16 //$Encoding = new Encoding(); 17 17 //$Content = addslashes($Encoding->ToUTF8(file_get_contents($SourceURL), 'win1250')); 18 $Content = file_get_contents($SourceURL);18 $Content = @file_get_contents($SourceURL); 19 19 while(strpos($Content, $StartText) !== false) 20 20 { … … 34 34 //echo('Description: '.$Description.'<br>'); 35 35 //echo('Link: '.$Link.'<br><hr>'); 36 36 37 37 $DbResult = $System->Database->select('News', 'Id', '`Title`="'.$System->Database->real_escape_string($Title).'" AND `Category`='.$Category); 38 38 //echo($System->Database->LastQuery);
Note:
See TracChangeset
for help on using the changeset viewer.