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