edi/update fixes, guest redirected to cms/home

This commit is contained in:
Juan Ferrer 2020-01-08 11:52:29 +01:00
parent 28db4da4f8
commit 4ba69cf2da
4 changed files with 4 additions and 4 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.406.70) stable; urgency=low hedera-web (1.406.71) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -2,7 +2,7 @@
<div id="main" class="vn-login"> <div id="main" class="vn-login">
<div class="navbar"> <div class="navbar">
<div> <div>
<a href="#!form=cms/about&amp;guest=true"> <a href="#!form=cms/home&amp;guest=true">
<t>Log in as guest</t> <t>Log in as guest</t>
</a> </a>
</div> </div>

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "1.406.70", "version": "1.406.71",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

View File

@ -100,8 +100,8 @@ class Update extends Vn\Lib\Method {
); );
$db->query("COMMIT"); $db->query("COMMIT");
} catch (Exception $e) { } catch (Exception $e) {
$db->query('ROLLBACK');
error_log($e->getMessage()); error_log($e->getMessage());
$db->query('ROLLBACK');
} }
shell_exec("rm -R $tmpDir"); shell_exec("rm -R $tmpDir");