summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2015-12-09 14:20:45 +0000
committerPhil Burton <phil@d3r.com>2015-12-09 14:20:45 +0000
commitde76ff1e55ab2324d24b52f15b41df2fa372102c (patch)
tree21d26d05da1f5ea2efa96c984c41d10fc2ee7a2f
parenta382ad7a66f7509cdd5ccff765d1eaca7d1334f3 (diff)
(2.0.2) Add a global constant for version
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index 54f2b21..ad511e4 100644
--- a/search.php
+++ b/search.php
@@ -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;
}
/**