diff options
author | Phil Burton <phil@d3r.com> | 2015-12-09 14:20:45 +0000 |
---|---|---|
committer | Phil Burton <phil@d3r.com> | 2015-12-09 14:20:45 +0000 |
commit | de76ff1e55ab2324d24b52f15b41df2fa372102c (patch) | |
tree | 21d26d05da1f5ea2efa96c984c41d10fc2ee7a2f /search.php | |
parent | a382ad7a66f7509cdd5ccff765d1eaca7d1334f3 (diff) |
(2.0.2) Add a global constant for version
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php -$version = "2.0.1"; +define("VERSION", "2.0.2"); /** * Load and parse the config file, setting any defaults here if non-required @@ -97,7 +97,7 @@ function getHelp($config) */ function getVersion($config) { - return $config["command"] . " v" . $version; + return $config["command"] . " v" . VERSION; } /** |