[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/34: FIX : when taken from git NOALYSS_VERS
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 01/34: FIX : when taken from git NOALYSS_VERSION is undefined |
Date: |
Wed, 17 Jan 2024 12:54:05 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit f0de5689e7edbfe744408c3c4d17eebd54250e35
Author: Dany wm <danydb@noalyss.eu>
AuthorDate: Wed Dec 6 18:00:37 2023 +0100
FIX : when taken from git NOALYSS_VERSION is undefined
---
include/constant.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/constant.php b/include/constant.php
index a5fd19ee9..dd4ec698c 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -90,6 +90,12 @@ $g_succeed = "<span
style=\"font-size:18px;color:green\">✓</span>";
define('SMALLX', '#xe816;');
define('BUTTONADD', "✚");
+// If noalyss_version is not defined it is likely directly taken from
+// git and so this variable is not set, this cause some issue
+if (! defined ("NOALYSS_VERSION"))
+{
+ define("NOALYSS_VERSION",9999);
+}
define('SVNINFO', NOALYSS_VERSION);
if (!defined('DEBUGNOALYSS')) {
define("DEBUGNOALYSS", 0);
- [Noalyss-commit] [noalyss] 06/34: Improve DatabaseCore : fetch_all, (continued)
- [Noalyss-commit] [noalyss] 06/34: Improve DatabaseCore : fetch_all, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 05/34: Improve DBG , add stopwatch : timer_start and timer_show, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 04/34: FIX : when taken from git NOALYSS_VERSION is undefined, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 19/34: Merge branch 'devel-ods' into devel, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 23/34: Bug Fiche Option, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 32/34: DEV - TEST : new file to see local variables, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 21/34: Task #0002327: Balance : indiqué si le solde est correct débit / crédit, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 11/34: Task 0002128: Clôture comptabilité française, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 13/34: Acc OD : cosmetic, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 17/34: Get empty upgrade.sql, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 01/34: FIX : when taken from git NOALYSS_VERSION is undefined,
dwm <=
- [Noalyss-commit] [noalyss] 18/34: Bug #0002322: Impression Suivi, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 08/34: OPTION_CARD : Correct options for FollowUp, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 16/34: Task 2128 : Ouverture et cloture toujours visible, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 20/34: Merge branch 'devel-andromeda' into devel, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 28/34: Task 0002128: Clôture comptabilité française Réécriture op. ouverture et cloture, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 30/34: Get empty upgrade.sql, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 31/34: PRINT properly action, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 33/34: Task #2323 : follow-up correct depending action + cosmetic, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 09/34: Bug Fiche Option, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 12/34: Task 0002128: Clôture comptabilité française, dwm, 2024/01/17