FIX : when taken from git NOALYSS_VERSION is undefined
This commit is contained in:
parent
4f1d7e155a
commit
f7be1ec6bb
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue