Code Igniter Framework and Gallery2

axishift

Joined: 2004-04-20
Posts: 5
Posted: Fri, 2007-02-02 20:01

I just want gallery2 be able to understand..

<?php
$this->authlib->check();
?>

Do you think its possible?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-02-03 02:16

is authlib a concept of http://www.codeigniter.com/ ?

do you want to integrate g2 with this framework as master or should g2 be the master?
the app that does the authentication is the master.

usually, the other app, http://www.codeigniter.com/ in this case, is the master when integrating with g2.

you do the auth with that framework and then call GalleryEmbed::init(array('activeUserId' => ..., ...));

see:
http://codex.gallery2.org/index.php/Gallery2:Embedding

--------------
Enter the Gallery 2 Theme Contest today!