summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2015-12-09 14:11:53 +0000
committerPhil Burton <phil@d3r.com>2015-12-09 14:11:53 +0000
commita382ad7a66f7509cdd5ccff765d1eaca7d1334f3 (patch)
tree89288a28b5c29fddf97cd2903e7f462f8f5354c8 /search.php
parenta787e9fdd23def5a0b0502f90c04027e2bdb6f39 (diff)
(2.0.1) Set the version as global to make it more clear. Move to proper 3 tier semantic versioning
Diffstat (limited to 'search.php')
-rw-r--r--search.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/search.php b/search.php
index 04e12f4..54f2b21 100644
--- a/search.php
+++ b/search.php
@@ -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;
}
/**