I was hoping to get some help with the following please.
I’m redesigning some things in an already made Joomla website. The first thing I did was to update it to Joomla! 3.8.5 and all works good except the following.
The site has individual folders on the hosting that contain presentations and each of these folders has it's own index.php
At the top of this index.php file is the following code that checks to make sure the person is assigned to the joomla group 10 and if not gets redirected to the registration page. If they are registered then they get to see the presentation.
Code: Select all
<?php
require "../joomla_auth.php";
$auth = new JoomAuth('../../configuration.php');
/*
* param redirect_on_fail
* param group_id - The Joolmla Group ID with access to this page can be integer or array
*/
$auth->checkauth( '/registration', 10 );
?>
I've attached the code for for joomla_auth.php in a text file as am unable to upload the .php or paste it.
Really appreciate any help on this if you have the time.
Many thanks,
Andrew