mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
provide theme_init() functions
This commit is contained in:
parent
3afc9915e3
commit
741a5dba57
9 changed files with 20 additions and 0 deletions
1
boot.php
1
boot.php
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue