Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
This commit is contained in:
commit
eabe5ae616
@ -289,9 +289,9 @@ if (! empty($_SESSION['dol_loginmesg']))
|
|||||||
if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) {
|
if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php';
|
||||||
if (substr($langs->defaultlang, 0, 2)=='fr') {
|
if (substr($langs->defaultlang, 0, 2)=='fr') {
|
||||||
$resgetcommitstrip = getURLContent("http://www.commitstrip.com/fr/feed/");
|
$resgetcommitstrip = getURLContent("https://www.commitstrip.com/fr/feed/");
|
||||||
} else {
|
} else {
|
||||||
$resgetcommitstrip = getURLContent("http://www.commitstrip.com/en/feed/");
|
$resgetcommitstrip = getURLContent("https://www.commitstrip.com/en/feed/");
|
||||||
}
|
}
|
||||||
if ($resgetcommitstrip && $resgetcommitstrip['http_code'] == '200')
|
if ($resgetcommitstrip && $resgetcommitstrip['http_code'] == '200')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user