From 4c30cddbfc105c0ea60f30594b760633e654cb0c Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 16 Jul 2013 22:48:05 -0700 Subject: provide a controlling user for theme settings, not necessarily local_user() - can't test on my test site so moving into production and I'll debug it there. --- mod/settings.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mod') diff --git a/mod/settings.php b/mod/settings.php index 164a2a8a0..1878fceb6 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -3,6 +3,7 @@ require_once('include/settings.php'); + function get_theme_config_file($theme){ $base_theme = get_app()->theme_info['extends']; @@ -16,6 +17,11 @@ function get_theme_config_file($theme){ return null; } +function settings_init(&$a) { + $a->profile_uid = local_user(); +} + + function settings_aside(&$a) { -- cgit v1.2.3