[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 319/323: UpgradeCore improve
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 319/323: UpgradeCore improve |
Date: |
Wed, 14 Mar 2018 17:39:12 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit c77ba0812e2f51a48ecc45bee41cafd3edb45f4d
Author: Dany De Bontridder <address@hidden>
Date: Mon Mar 12 22:16:24 2018 +0100
UpgradeCore improve
---
include/ajax/ajax_admin.php | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/include/ajax/ajax_admin.php b/include/ajax/ajax_admin.php
index 6fbd656..1cf727d 100644
--- a/include/ajax/ajax_admin.php
+++ b/include/ajax/ajax_admin.php
@@ -350,18 +350,23 @@ if ($op=='upgradeCore')
$progress->set_value(2);
$repo=new Package_Repository();
$core=$repo->make_object("core", " ");
- $progress->set_value(5);
- $core->download();
- $progress->set_value(55);
- if (!DEBUG)
- {
- $core->install();
- }
- $progress->set_value(100);
+ try {
+ $progress->set_value(5);
+ $core->download();
+ $progress->set_value(55);
+ if (!DEBUG)
+ {
+ $core->install();
+ }
+ $progress->set_value(100);
- $url=sprintf('<a href="%s"> install.php</a>', NOALYSS_URL."/install.php");
- printf(_("Afin de terminer l'installation aller sur %s , à la fin de la
procédure , demandez à effacer le fichier install.php"),
- $url);
+ $url=sprintf('<a href="%s"> install.php</a>',
NOALYSS_URL."/install.php");
+ 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 $ex->getMessage();
+ }
+ return;
}
//---------------------------------------------------------------------------------------------------------
// Upgrade or install plugin
- [Noalyss-commit] [noalyss] 295/323: install plugin : cosmétique, (continued)
- [Noalyss-commit] [noalyss] 295/323: install plugin : cosmétique, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 301/323: Some dialog must be fixed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 294/323: Bug : install plugin, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 250/323: Manage_Table_SQL : fix when not value is selected, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 258/323: indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 263/323: Gestion : block search on the current card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 245/323: Remove obsolete hardcoded sort, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 291/323: Fix position calc for other CSS Sheet, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 308/323: CSS Cosmetic : button with border, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 315/323: Correct bug : Dashboard , zoom action failed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 319/323: UpgradeCore improve,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 179/323: Documentation INum->prec, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 243/323: ajax_card : warning if there is no category of cards, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 265/323: CSS : table menu use the font SansationLight, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 281/323: FIN : hide disable ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 262/323: fix code, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 288/323: Template : can be added from ADMINISTRATION -> MODELE, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 316/323: CSS cosmetic : align selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 323/323: ANCGL Test if at least one operation is selected, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 293/323: CSS classic: progressBar for, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 216/323: Task #1539 : upgrade , install plugin , download database template, Dany De Bontridder, 2018/03/14