Update index.php

dev
SuperDev 3 years ago committed by GitHub
parent 4df34419ad
commit 64b54065cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
$server_version = $result["tag_name"];
$server_version = $result['tag_name'];
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}

Loading…
Cancel
Save