changeset 22:431682ff9169

Add version number.
author edogawaconan <me@myconan.net>
date Thu, 23 Oct 2014 21:07:21 +0900
parents fb351f473fd5
children 949398173ecb
files index.php
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Wed Oct 22 12:02:38 2014 +0900
+++ b/index.php	Thu Oct 23 21:07:21 2014 +0900
@@ -1,4 +1,5 @@
 <?php
+  define('DL_VERSION', '1.0.0');
   // Required for strftime(). Set to UTC because :internet:.
   date_default_timezone_set('UTC');
 
@@ -198,7 +199,7 @@
   <footer>
     <hr>
     <em>
-      Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php</a>.
+      Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php <?php echo DL_VERSION ?></a>.
       Powered by PHP <?php echo phpversion(); ?>.
     </em>
   </footer>