[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/34: FIX : when taken from git NOALYSS_VERS
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 04/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 faf7124306adffe7cc36e03799175e0a3014a7d3
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] branch devel updated (ead8d5f23 -> edc0a3f23), dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 02/34: FIX : default to use https, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 07/34: PRINTGL Main Ledger (GL) improve performance and code prepare the SQL , better filter for accounting, dwm, 2024/01/17
- [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 <=
- [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, 2024/01/17
- [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