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