$new = TRUE;
} else {
// Revision file found
- $ins_vers = explode(chr(10), readFromFile($FQFN));
+ $ins_vers = explode(PHP_EOL, readFromFile($FQFN));
// Get array for mapping information
$mapper = array_flip($GLOBALS['repository_search_for']);
// Has it been updated?
if ($new === TRUE) {
// Write it
- writeToFile($FQFN, implode(chr(10), getArrayFromRepositoryData()));
+ writeToFile($FQFN, implode(PHP_EOL, getArrayFromRepositoryData()));
// ... and call recursive
$ret = getRepositoryData($type);
} else {
// No valid Data from the last modificated file so read the Revision from the Server. Fallback-solution!! Should not be removed I think.
- $version = sendGetRequest('check-updates3.php');
+ $version = sendHttpGetRequest('check-updates3.php');
// Invalid request reply?
if (!isset($version[11])) {