mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-17 15:13:10 +02:00
fixes #1192 use HTTPS to call piwigo.org
This commit is contained in:
@@ -166,7 +166,7 @@ elseif ('pt_BR' == $user['language']) {
|
||||
else {
|
||||
define('PHPWG_DOMAIN', 'piwigo.org');
|
||||
}
|
||||
define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
|
||||
define('PHPWG_URL', 'https://'.PHPWG_DOMAIN);
|
||||
|
||||
if(isset($conf['alternative_pem_url']) and $conf['alternative_pem_url']!='')
|
||||
{
|
||||
@@ -174,7 +174,7 @@ if(isset($conf['alternative_pem_url']) and $conf['alternative_pem_url']!='')
|
||||
}
|
||||
else
|
||||
{
|
||||
define('PEM_URL', 'http://'.PHPWG_DOMAIN.'/ext');
|
||||
define('PEM_URL', 'https://'.PHPWG_DOMAIN.'/ext');
|
||||
}
|
||||
|
||||
// language files
|
||||
|
||||
Reference in New Issue
Block a user