aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-09 16:57:22 -0800
committerFriendika <info@friendika.com>2011-03-09 16:57:22 -0800
commit7b9dff1db7a1a03e237103ff28a4ec32d40af959 (patch)
tree12fd64786e08053f70d7218cd2fc98d2fe741b0c /boot.php
parent1c779e20618baf0d348ad52bc877d9a7a7923641 (diff)
downloadvolse-hubzilla-7b9dff1db7a1a03e237103ff28a4ec32d40af959.tar.gz
volse-hubzilla-7b9dff1db7a1a03e237103ff28a4ec32d40af959.tar.bz2
volse-hubzilla-7b9dff1db7a1a03e237103ff28a4ec32d40af959.zip
automated versioning
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/boot.php b/boot.php
index 37cd42592..7dd188ee7 100644
--- a/boot.php
+++ b/boot.php
@@ -2,9 +2,9 @@
set_time_limit(0);
-define ( 'BUILD_ID', 1040 );
-define ( 'FRIENDIKA_VERSION', '2.10.0912' );
+define ( 'FRIENDIKA_VERSION', '2.1.913' );
define ( 'DFRN_PROTOCOL_VERSION', '2.1' );
+define ( 'DB_UPDATE_VERSION', 1040 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
@@ -435,15 +435,15 @@ function check_config(&$a) {
$build = get_config('system','build');
if(! x($build))
- $build = set_config('system','build',BUILD_ID);
+ $build = set_config('system','build',DB_UPDATE_VERSION);
$url = get_config('system','url');
if(! x($url))
$url = set_config('system','url',$a->get_baseurl());
- if($build != BUILD_ID) {
+ if($build != DB_UPDATE_VERSION) {
$stored = intval($build);
- $current = intval(BUILD_ID);
+ $current = intval(DB_UPDATE_VERSION);
if(($stored < $current) && file_exists('update.php')) {
// We're reporting a different version than what is currently installed.
// Run any existing update scripts to bring the database up to current.
@@ -455,7 +455,7 @@ function check_config(&$a) {
$func($a);
}
}
- set_config('system','build', BUILD_ID);
+ set_config('system','build', DB_UPDATE_VERSION);
}
}