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

 
admodum

Joined: 2008-01-10
Posts: 9
Posted: Tue, 2008-03-25 01:00

bump

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2008-03-25 01:09

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