Prevent direct access outside of joomla
mlewis
Joined: 2007-02-27
Posts: 6 |
Posted: Sun, 2008-02-17 20:57 |
I have gallery2 in a subdirectory under joomla. I have a bridge to gallery2 installed on joomla. I want to prevent non members from directly accessing the gallery, to be prompted by the joomla site to sign up or send them to a certain page. http://codex.gallery2.org/Gallery2:Integration_Howto Is this the only way to do it or are there others? Any security issues? Thanks very much. Mike |
|
Posts: 9
bump
Posts: 8339
in gallery2/config.php look for :
$gallery->setConfig('mode.embed.only', false);
set to true for embed only.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2