1
1
Fork 0

doc updates

This commit is contained in:
Friendika 2011-04-22 00:11:28 -07:00
commit b603641807
4 changed files with 17 additions and 6 deletions

View file

@ -2513,7 +2513,7 @@ function current_theme(){
$a = get_app();
$system_theme = ((isset($a->config['system']['theme'])) ? $a->config['system']['theme'] : '');
$theme_name = ((x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme);
$theme_name = ((is_array($_SESSION) && x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme);
if($theme_name && file_exists('view/theme/' . $theme_name . '/style.css'))
return($theme_name);