[SOLVED] Forwarding from index.php

hydrus

Joined: 2005-11-19
Posts: 11
Posted: Thu, 2006-06-22 01:37

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):whoismartin.ca
Gallery version:2.1-rc-1 core 1.0.27
Apache version:?No clue?
PHP version (don't just say PHP 4, please):4.3.11 cgi-fcgi
Graphics Toolkit:Gd, NetPBM, Exif, Thumbnail
Operating system:Linux linhost136.prod.mesa1.secureserver.net 2.4.21-27.ELsmp #1 SMP
Web browser/version (if applicable):

Hi all,
I know that this question must have been answered but I've spent hours searching the fourms..
I would like gallery to start at a different location when the website is first loaded. Forward from index.php to another url instead of main.php. For example, a sub-album. I don't know where I would modify the code to do that.

Thanks a lot,
Martin.

 
hydrus

Joined: 2005-11-19
Posts: 11
Posted: Mon, 2006-06-26 23:23

Well, first of all I posted in the wrong section. I meant to post in the gallery 2 section and I solved my issue.

I put the following code in the config.php file: define('GALLERY_MAIN_PHP', 'page.php');
where page.php is the page I wanted to forward to. Just for anyone else that wondering.