forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
version.php
54 lines (47 loc) · 2.07 KB
/
version.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* Software version identification.
*
* @link http://open-emr.org/wiki
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
* @author Robert Down <[email protected]>
*/
// Software version identification.
// This is used for display purposes, and also the major/minor/patch
// numbers are stored in the database and used to determine which sql
// upgrade file is the starting point for the next upgrade.
$v_major = '5';
$v_minor = '0';
$v_patch = '2';
$v_tag = '-dev'; // minor revision number, should be empty for production releases
// A real patch identifier. This is incremented when we release a patch for a
// production release. Note the above $v_patch variable is a misnomer and actually
// stores release version information.
$v_realpatch = '0';
// Database version identifier, this is to be incremented whenever there
// is a database change in the course of development. It is used
// internally to determine when a database upgrade is needed.
//
$v_database = 260;
// Access control version identifier, this is to be incremented whenever there
// is a access control change in the course of development. It is used
// during installation to determine what the installed version of the access
// controls is (subsequently the acl_upgrade.php script then is used to
// upgrade and track this value)
//
$v_acl = 8;
//Offsite Portal SOAP functions version, which are at myportal directory.
$v_offsite_portal='1.47';
// Version for JavaScript and stylesheet includes. Increment whenever a .js or .css file changes.
// Also whenever you change a .js or .css file, make sure that all URLs referencing it
// end with "?v=$v_js_includes". Search the code for examples of doing this.
// All this is to keep browsers from using an older cached version.
// Need to assign it as a global below to work in template scripts.
if (getenv('OPENEMR__ENVIRONMENT') === 'dev') {
$v_js_includes = md5(microtime());
} else {
// Change this number when bumping
$v_js_includes = 42;
}
// Do note modify below
$GLOBALS['v_js_includes'] = $v_js_includes;