4 * Software version identification.
7 * @link https://www.open-emr.org/wiki
8 * @author Robert Down <robertdown@live.com>
9 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 // Software version identification.
14 // This is used for display purposes, and also the major/minor/patch
15 // numbers are stored in the database and used to determine which sql
16 // upgrade file is the starting point for the next upgrade.
20 $v_tag = '-dev'; // minor revision number, should be empty for production releases
22 // A real patch identifier. This is incremented when we release a patch for a
23 // production release. Note the above $v_patch variable is a misnomer and actually
24 // stores release version information.
27 // Database version identifier, this is to be incremented whenever there
28 // is a database change in the course of development. It is used
29 // internally to determine when a database upgrade is needed.
33 // Access control version identifier, this is to be incremented whenever there
34 // is a access control change in the course of development. It is used
35 // during installation to determine what the installed version of the access
36 // controls is (subsequently the acl_upgrade.php script then is used to
37 // upgrade and track this value)
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 (!empty($_ENV['OPENEMR__ENVIRONMENT']) && ($_ENV['OPENEMR__ENVIRONMENT'] === 'dev')) {
47 $v_js_includes = md5(microtime());
49 // Change this number when bumping
53 // Do note modify below
54 $GLOBALS['v_js_includes'] = $v_js_includes;