mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
get version from inc/inc.Version.php
This commit is contained in:
parent
f50988af09
commit
f9bb845aca
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
VERSION=5.1.10
|
||||
VERSION=$(shell php -r 'include("inc/inc.Version.php"); $$v=new SeedDMS_Version(); echo $$v->version();')
|
||||
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc styles TODO LICENSE webdav install restapi pdfviewer
|
||||
# webapp
|
||||
|
||||
|
|
|
@ -122,8 +122,10 @@ function fileExistsInIncludePath($file) { /* {{{ */
|
|||
/**
|
||||
* Load default settings + set
|
||||
*/
|
||||
require_once('../inc/inc.Version.php');
|
||||
$ver = new SeedDMS_Version();
|
||||
define("SEEDDMS_INSTALL", "on");
|
||||
define("SEEDDMS_VERSION", "5.1.10");
|
||||
define("SEEDDMS_VERSION", $ver->version());
|
||||
|
||||
require_once('../inc/inc.ClassSettings.php');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user