diff options
author | Friendika <info@friendika.com> | 2011-11-09 18:29:30 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-11-09 18:29:30 -0800 |
commit | e35f3f1ada264c03fe0c54e5ed0672c5a66ca001 (patch) | |
tree | 80b98f2c6b348b837167539b35a05fc016e01655 /boot.php | |
parent | a2018e2d145d0e8189abf3f6e2e75d571b35f029 (diff) | |
parent | 2b1e01185144ecc0ff5de457efcad5734dd932c8 (diff) | |
download | volse-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.php | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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'] = ''; |