diff options
author | Phil Burton <phil@d3r.com> | 2015-12-09 14:11:53 +0000 |
---|---|---|
committer | Phil Burton <phil@d3r.com> | 2015-12-09 14:11:53 +0000 |
commit | a382ad7a66f7509cdd5ccff765d1eaca7d1334f3 (patch) | |
tree | 89288a28b5c29fddf97cd2903e7f462f8f5354c8 | |
parent | a787e9fdd23def5a0b0502f90c04027e2bdb6f39 (diff) |
(2.0.1) Set the version as global to make it more clear. Move to proper 3 tier semantic versioning
-rw-r--r-- | search.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ <?php +$version = "2.0.1"; + /** * Load and parse the config file, setting any defaults here if non-required * fields are not set @@ -95,7 +97,7 @@ function getHelp($config) */ function getVersion($config) { - return $config["command"] . " v" . "2.0"; + return $config["command"] . " v" . $version; } /** |