aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-30 17:27:32 -0800
committerfriendica <info@friendica.com>2013-01-30 17:27:32 -0800
commit3767bba3c3669b6e882139abfaa3553db61d1474 (patch)
tree5d2b662c62b42027d64292b6229edecdb2dd782b /boot.php
parente270bd3874bb4526138cc06cd26e2a1153778894 (diff)
downloadvolse-hubzilla-3767bba3c3669b6e882139abfaa3553db61d1474.tar.gz
volse-hubzilla-3767bba3c3669b6e882139abfaa3553db61d1474.tar.bz2
volse-hubzilla-3767bba3c3669b6e882139abfaa3553db61d1474.zip
beginning of backend file/attachment api
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index e2760fefb..266347700 100644
--- a/boot.php
+++ b/boot.php
@@ -16,7 +16,7 @@ require_once('include/features.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica Red');
define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 );
-define ( 'DB_UPDATE_VERSION', 1022 );
+define ( 'DB_UPDATE_VERSION', 1023 );
define ( 'EOL', '<br />' . "\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
@@ -2032,6 +2032,14 @@ function dba_timer() {
return microtime(true);
}
+function get_observer_hash() {
+ $observer = get_app()->get_observer();
+ if(is_array($observer))
+ return $observer['xchan_hash'];
+ return '';
+}
+
+
/**
* Returns the complete URL of the current page, e.g.: http(s)://something.com/network
*