Better permission handling.
This commit is contained in:
parent
c7d3173080
commit
1bac9fb268
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ function import_init(&$a)
|
||||||
|
|
||||||
if(! $_SESSION['uid']) {
|
if(! $_SESSION['uid']) {
|
||||||
notice("Permission denied.");
|
notice("Permission denied.");
|
||||||
return;
|
goaway($a->get_baseurl());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue