diff --git a/debian/changelog b/debian/changelog index 2c343e73..6b2eb72b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.407.04) stable; urgency=low +hedera-web (1.407.05) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 989a0ce7..5309f17a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.407.04", + "version": "1.407.05", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/misc/access-version.php b/rest/misc/access-version.php index e5848cd6..63f74a8d 100644 --- a/rest/misc/access-version.php +++ b/rest/misc/access-version.php @@ -66,8 +66,8 @@ class AccessVersion extends Vn\Web\JsonRequest { rename($moduleFile['tmp_name'], $archiveFullPath); chmod($archiveFullPath, 0644); - @unlink ($headFile); - symlink($headFile, $archiveRelPath); + @unlink($headFile); + symlink($archiveRelPath, $headFile); return TRUE; }