never use profile_load outside of a module's _init() function
This commit is contained in:
parent
405f37b7ae
commit
fdd142c42e
24 changed files with 214 additions and 164 deletions
|
|
@ -33,7 +33,6 @@ function profile_init(&$a) {
|
|||
auto_redir($a, $which);
|
||||
}
|
||||
|
||||
set_template_engine($a); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
profile_load($a,$which,$profile);
|
||||
|
||||
$blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue