mirror of
https://github.com/e107inc/e107.git
synced 2025-07-17 21:11:18 +02:00
Fixes #3719 - Add check for membersonly splash page
This commit is contained in:
@@ -60,9 +60,13 @@ class membersonly
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sc_membersonly_returntohome()
|
function sc_membersonly_returntohome()
|
||||||
|
{
|
||||||
|
$pref = e107::pref('core');
|
||||||
|
if($pref['membersonly_redirect'] == 'login')
|
||||||
{
|
{
|
||||||
return "<a class='alert-link' href='".e_HTTP."index.php'>".LAN_MEMBERS_4."</a>";
|
return "<a class='alert-link' href='".e_HTTP."index.php'>".LAN_MEMBERS_4."</a>";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function sc_membersonly_restricted_area()
|
function sc_membersonly_restricted_area()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user