aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-09 18:29:30 -0800
committerFriendika <info@friendika.com>2011-11-09 18:29:30 -0800
commite35f3f1ada264c03fe0c54e5ed0672c5a66ca001 (patch)
tree80b98f2c6b348b837167539b35a05fc016e01655 /boot.php
parenta2018e2d145d0e8189abf3f6e2e75d571b35f029 (diff)
parent2b1e01185144ecc0ff5de457efcad5734dd932c8 (diff)
downloadvolse-hubzilla-e35f3f1ada264c03fe0c54e5ed0672c5a66ca001.tar.gz
volse-hubzilla-e35f3f1ada264c03fe0c54e5ed0672c5a66ca001.tar.bz2
volse-hubzilla-e35f3f1ada264c03fe0c54e5ed0672c5a66ca001.zip
Merge branch 'master' into contacts
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 af5c2db0b..09a66c02c 100644
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
-define ( 'FRIENDIKA_VERSION', '2.3.1159' );
+define ( 'FRIENDIKA_VERSION', '2.3.1160' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1103 );
@@ -823,6 +823,14 @@ function profile_load(&$a, $nickname, $profile = 0) {
$a->page['title'] = $a->profile['name'] . " @ " . $a->config['sitename'];
$_SESSION['theme'] = $a->profile['theme'];
+ /**
+ * load/reload current theme info
+ */
+ $theme_info_file = "view/theme/".current_theme()."/theme.php";
+ if (file_exists($theme_info_file)){
+ require_once($theme_info_file);
+ }
+
if(! (x($a->page,'aside')))
$a->page['aside'] = '';