quick minor path updates (#1968)
[openemr.git] / version.php
blob67bfb61bcdf1a1f13e8764319c7fc8f901a857c9
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 = '2';
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 = 269;
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 = 8;
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 = 42;
53 // Do note modify below
54 $GLOBALS['v_js_includes'] = $v_js_includes;