feat: Fixes #6772 adds twig email templates to emails (#6773)
[openemr.git] / version.php
blobdb63554018facf94606247bb6e14b9dd13e23f4b
1 <?php
3 /**
4 * Software version identification.
6 * @package OpenEMR
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.
17 $v_major = '7';
18 $v_minor = '0';
19 $v_patch = '2';
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.
25 $v_realpatch = '0';
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.
31 $v_database = 491;
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)
39 $v_acl = 12;
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());
48 } else {
49 // Change this number when bumping
50 $v_js_includes = 74;
53 // Do not modify below
54 $GLOBALS['v_js_includes'] = $v_js_includes;