[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 13/20: FIX : when taken from git NOALYSS_VERS
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 13/20: FIX : when taken from git NOALYSS_VERSION is undefined |
Date: |
Sun, 10 Dec 2023 03:22:24 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f7be1ec6bbcc27a485719de95d799552d3a30799
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 b939750d7..48584f3e1 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 master updated (4bf2ca815 -> 98390d4d4), dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 11/20: remove raise, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 05/20: Task #2309 mot de passe fort, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 13/20: FIX : when taken from git NOALYSS_VERSION is undefined,
dwm <=
- [Noalyss-commit] [noalyss] 02/20: Improve Manage_Table : search button if modify or delete is on the left, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 18/20: DatabaseCore : clear prepare stmt, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 19/20: Test disable xdebug, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 16/20: PRINTGL Main Ledger (GL) improve performance and code prepare the SQL , better filter for accounting, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 08/20: Improve documentation, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 01/20: PHP Compatibility 8.1, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 17/20: PRINTGL Main Ledger (GL), dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 20/20: Fix merge issue, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 06/20: ergo, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 15/20: Improve DatabaseCore : fetch_all, dwm, 2023/12/10