|
...
|
...
|
@@ -36,7 +36,7 @@ if(!defined("_CHARSET")) exit( );
|
|
36
|
36
|
$ch = curl_init();
|
|
37
|
37
|
|
|
38
|
38
|
// set the url to fetch
|
|
39
|
|
- curl_setopt($ch, CURLOPT_URL, 'http://www.efiction.org/version.txt');
|
|
|
39
|
+ curl_setopt($ch, CURLOPT_URL, 'https://www.efiction.org/version.txt');
|
|
40
|
40
|
|
|
41
|
41
|
// don't give me the headers just the content
|
|
42
|
42
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
|
...
|
...
|
@@ -63,7 +63,7 @@ if(!defined("_CHARSET")) exit( );
|
|
63
|
63
|
else if(ini_get("allow_url_fopen")) {
|
|
64
|
64
|
$output .= write_message(_RUNNINGVERSION);
|
|
65
|
65
|
|
|
66
|
|
- $location = fopen ("http://efiction.org/version.txt", "r");
|
|
|
66
|
+ $location = fopen ("https://efiction.org/version.txt", "r");
|
|
67
|
67
|
$buffer = '';
|
|
68
|
68
|
while (!feof ($location)) {
|
|
69
|
69
|
$buffer .= fgets($location, 4096);
|