mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Changed FEED URLs to https
This commit is contained in:
@@ -20,7 +20,7 @@ if (!defined('e107_INIT'))
|
|||||||
|
|
||||||
header('Content-type: text/html; charset=utf-8', TRUE);
|
header('Content-type: text/html; charset=utf-8', TRUE);
|
||||||
|
|
||||||
define('ADMINFEED', 'http://e107.org/adminfeed');
|
define('ADMINFEED', 'https://e107.org/adminfeed');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -67,6 +67,13 @@ if(ADMIN && e_AJAX_REQUEST && varset($_GET['mode']) == 'core' && ($_GET['type']
|
|||||||
echo $text;
|
echo $text;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if(e_DEBUG)
|
||||||
|
{
|
||||||
|
// echo "Feed failed: ".ADMINFEED;
|
||||||
|
}
|
||||||
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,7 +99,7 @@ if(ADMIN && e_AJAX_REQUEST && varset($_GET['mode']) == 'addons' )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($data = e107::getXml()->getRemoteFile('http://e107.org/feed/?limit=3&type='.$type,3))
|
if($data = e107::getXml()->getRemoteFile('https://e107.org/feed/?limit=3&type='.$type,3))
|
||||||
{
|
{
|
||||||
$rows = e107::getXml()->parseXml($data, 'advanced');
|
$rows = e107::getXml()->parseXml($data, 'advanced');
|
||||||
// print_a($rows);
|
// print_a($rows);
|
||||||
|
@@ -1255,6 +1255,7 @@ class e_file
|
|||||||
|
|
||||||
// $text = 'umask 0022'; //Could correct permissions issue with 0664 files.
|
// $text = 'umask 0022'; //Could correct permissions issue with 0664 files.
|
||||||
// Change Dir.
|
// Change Dir.
|
||||||
|
$folder = e107::getParser()->filter($folder,'file'); // extra filter to keep RIPS happy.
|
||||||
|
|
||||||
switch($type)
|
switch($type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user