mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-08 10:16:51 +01:00
Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS
This commit is contained in:
@@ -123,7 +123,9 @@ else {
|
|||||||
));
|
));
|
||||||
|
|
||||||
if(!isset($_SESSION['installed'])) {
|
if(!isset($_SESSION['installed'])) {
|
||||||
file_get_contents('http' . ini_get('allow_url_fopen') ? "" : "s" .'://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL));
|
if(ini_get('allow_url_fopen') ) {
|
||||||
|
file_get_contents('http://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL));
|
||||||
|
}
|
||||||
$_SESSION['installed'] = true;
|
$_SESSION['installed'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user