#374 4.1b2 Improved Gallery2 integration

open
nobody
None
5
2007-01-12
2007-01-12
Wieds
No

I have an update to the Gallery2 integration that allows for Gallery to be installed at a different URL than phpGedView.

I have tested this with Gallery 2.1.2 and the 4.1B2 code.

In modules/gallery2.php, add a new variable g2uri that points to the full HTTP address of the Gallery installation.

In modules/gallery2/pgv.php, modify line 67 to use the new variable in modules/gallery2.php.

This modification works for both Gallery installed in a different location and Gallery installed in the modules/gallery2 path.

Discussion

  • Wieds
    Wieds
    2007-01-12

    Updated modules/gallery2.php with g2uri variable

     
    Attachments
  • Wieds
    Wieds
    2007-01-12

    Updated modules/gallery2/pgv.php with g2uri variable usage.

     
    Attachments
  • Wieds
    Wieds
    2007-01-12

    Logged In: YES
    user_id=1339175
    Originator: YES

    File Added: pgv.php