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 = ""; 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);