mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
* changed some notice when version check is failed
This commit is contained in:
parent
83dc5b7650
commit
cd366b6087
@ -15,7 +15,8 @@ $title = 'Version check';
|
|||||||
//$myaac_version = fgets($file);
|
//$myaac_version = fgets($file);
|
||||||
$myaac_version = @file_get_contents('http://my-aac.org/VERSION');
|
$myaac_version = @file_get_contents('http://my-aac.org/VERSION');
|
||||||
if(!$myaac_version) {
|
if(!$myaac_version) {
|
||||||
warning('Error while fetching version info from http://my-aac.org. Site might be offline.');
|
warning('Error while fetching version info from http://my-aac.org<br/>
|
||||||
|
Please try again later.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user