Skip to content

Commit

Permalink
36-profile-picture-is-shown
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Jul 20, 2009
1 parent 499adb0 commit c9722e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/omb/plugins/wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function is_microblog_theme() {
global $microblog_themes;
if (in_array(environment('theme'),$microblog_themes))
return true;
if (is_file(theme_path()."post-form.php"))
if (is_file(theme_dir()."post-form.php"))
return true;
return false;
}
Expand Down
6 changes: 6 additions & 0 deletions db/library/dbscript/_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,12 @@ function theme_path($noslash = false) {

return $path;

}

function theme_dir(){

return $GLOBALS['PATH']['themes'] . environment('theme') . DIRECTORY_SEPARATOR;

}


Expand Down

0 comments on commit c9722e0

Please sign in to comment.