mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
PHP 5.3+(and NOT 3+ as stated in the previous commit :) ) overall system compatibility
This commit is contained in:
@@ -330,7 +330,7 @@ class rssCreate
|
||||
$this -> rssItems[$k]['title'] = $row['title'];
|
||||
if($row['link'])
|
||||
{
|
||||
if(eregi("http",$row['link']))
|
||||
if(stripos($row['link'], 'http') !== FALSE)
|
||||
{
|
||||
$this -> rssItems[$k]['link'] = $row['link'];
|
||||
}
|
||||
@@ -361,7 +361,7 @@ class rssCreate
|
||||
$this -> rssItems[$k]['category_name'] = $row['category_name'];
|
||||
if($row['category_link'])
|
||||
{
|
||||
if(eregi("http",$row['category_link']))
|
||||
if(stripos($row['category_link'], 'http') !== FALSE)
|
||||
{
|
||||
$this -> rssItems[$k]['category_link'] = $row['category_link'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user