[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 321/323: Improve upgradeCore
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 321/323: Improve upgradeCore |
Date: |
Wed, 14 Mar 2018 17:39:15 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit db94488ecd50ad7b37f72a6629f89b09f6706952
Author: Dany De Bontridder <address@hidden>
Date: Mon Mar 12 22:57:07 2018 +0100
Improve upgradeCore
---
include/ajax/ajax_admin.php | 5 ++++-
include/class/package_core.class.php | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/ajax/ajax_admin.php b/include/ajax/ajax_admin.php
index 1cf727d..30d6e7b 100644
--- a/include/ajax/ajax_admin.php
+++ b/include/ajax/ajax_admin.php
@@ -354,7 +354,7 @@ if ($op=='upgradeCore')
$progress->set_value(5);
$core->download();
$progress->set_value(55);
- if (!DEBUG)
+ if (!DEBUG )
{
$core->install();
}
@@ -364,7 +364,10 @@ if ($op=='upgradeCore')
printf(_("Afin de terminer l'installation aller sur %s , à la fin de
la procédure , demandez à effacer le fichier install.php"),
$url);
} catch (Exception $ex ) {
+ echo '<p class="notice">';
echo $ex->getMessage();
+ echo '</p>';
+ $progress->set_value(100);
}
return;
}
diff --git a/include/class/package_core.class.php
b/include/class/package_core.class.php
index db2a86b..45a167b 100644
--- a/include/class/package_core.class.php
+++ b/include/class/package_core.class.php
@@ -39,6 +39,7 @@ class Package_Core extends Package_Noalyss
if ( !is_writable(NOALYSS_INCLUDE)) {
return 0;
}
+ return 1;
}
/**
- [Noalyss-commit] [noalyss] 292/323: Merge branch 'master' of ns3:/srv/git/noalyss, (continued)
- [Noalyss-commit] [noalyss] 292/323: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 255/323: Tag : select list add a close button, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 286/323: CSS : selected menu, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 312/323: Task #0001526: Problème navigation - retour en haut de la fenêtre si flèches de navigation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 305/323: Task #0001563: check date paiement ACH, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 309/323: Limit to event with a reminder, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 280/323: Task : esthetic Follow up , tags, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 221/323: Calc : hightlight result, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 238/323: Icon_Action::trash remove unwanted char, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 304/323: Task #0001563: Achat mémoriser également 3 champs (suite), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 321/323: Improve upgradeCore,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 320/323: Bug : Cannot upgrade core, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 241/323: HttpInput::extract fix bug, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 297/323: plugin : add explanation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 284/323: CSS : box_search_card , hidden if width < 804px, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 232/323: Typo, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 242/323: ajax_card : warning if there is no category of cards, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 322/323: Fix : not reliable, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 277/323: Do not propose disable ledger for new operation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 187/323: SQL : account_repository, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 278/323: New Favicon, Dany De Bontridder, 2018/03/14