X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=3d8648528cf7609f5e847fc5572d10c736ddaea1;hb=906addf865ccab2c98d5035fc6c1b10d43004dfe;hp=98733c4c8256c7ddbbbfcffac237889892af338d;hpb=5792b3d3580b9f09460305858293398d8d8a9abf;p=friendica.git diff --git a/index.php b/index.php index 98733c4c82..3d8648528c 100644 --- a/index.php +++ b/index.php @@ -140,7 +140,6 @@ call_hooks('app_menu', $arr); $a->apps = $arr['app_menu']; - /** * * We have already parsed the server path into $a->argc and $a->argv @@ -218,6 +217,13 @@ if(strlen($a->module)) { } } +/** + * load current theme info + */ +$theme_info_file = "view/theme/".current_theme()."/theme.php"; +if (file_exists($theme_info_file)){ + require_once($theme_info_file); +} /* initialise content region */