aboutsummaryrefslogtreecommitdiff
path: root/version.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 13:19:32 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 13:19:32 +0000
commitb3bf72d0faa76ffe3bb62141fca55d4decec19cf (patch)
tree086cac64141d03456a8542536a35c4e32fc2f6b6 /version.php
parent1c71016e6db14f52988522f3c47388eba86bc7ab (diff)
downloadelgg-b3bf72d0faa76ffe3bb62141fca55d4decec19cf.tar.gz
elgg-b3bf72d0faa76ffe3bb62141fca55d4decec19cf.tar.bz2
The beginnings of a db upgrade system. See lib/version.php, /version.php and the datalist functions in elgglib.php.
git-svn-id: https://code.elgg.org/elgg/trunk@519 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'version.php')
-rw-r--r--version.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/version.php b/version.php
new file mode 100644
index 000000000..3b4b203f4
--- /dev/null
+++ b/version.php
@@ -0,0 +1,22 @@
+<?php
+
+ /**
+ * Elgg version number.
+ * This file defines the current version of the core Elgg code being used.
+ * This is compared against the values stored in the database to determine
+ * whether upgrades should be performed.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $version = 2008042301; // YYYYMMDD = Elgg Date
+ // X = Elgg Point release (0,1,2...)
+ // Y = Interim incrementer
+
+ $release = '1.0'; // Human-friendly version name
+
+?> \ No newline at end of file