provide theme_init() functions

This commit is contained in:
friendica 2012-04-08 05:52:00 -07:00
parent 3afc9915e3
commit 741a5dba57
9 changed files with 20 additions and 0 deletions

View file

@ -922,6 +922,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
/**
* 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);