Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can i change index.php to mainpagegallery.php?  (Read 6454 times)

0 Members and 1 Guest are viewing this topic.

mlsbv

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Can i change index.php to mainpagegallery.php?
« on: September 03, 2007, 03:08:37 am »

Can i change index.php to mainpagegallery.php?
becuse i have a index page with index.php name. i like 2 file. first index.php as Home page and mainpagegallery.php as home page CPG.

Help me.  ;)
Logged

Nibbler

  • Guest
Re: Can i change index.php to mainpagegallery.php?
« Reply #1 on: September 03, 2007, 03:37:00 am »

It would be easier to call your index.php something else instead.
Logged

mlsbv

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Can i change index.php to mainpagegallery.php?
« Reply #2 on: September 03, 2007, 03:38:48 pm »

I did rename index.php to mainpage.php. but until category link's like http://mysite/index.php?cat=2 lieu http://mysite/mainpage.php?cat=2
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Can i change index.php to mainpagegallery.php?
« Reply #3 on: September 03, 2007, 03:44:18 pm »

Nibbler suggested to rename your site's index.php to something else and keep coppermine's index.php as it is
and then you can set default document under web server
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Can i change index.php to mainpagegallery.php?
« Reply #4 on: September 03, 2007, 03:48:59 pm »

Another option and probably more manageable in the long run is to put coppermine in its own folder.
Logged

mlsbv

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Can i change index.php to mainpagegallery.php?
« Reply #5 on: September 03, 2007, 04:07:17 pm »

rename your site's index.php to something else and keep coppermine's index.php as it is
and then you can set default document under web server
thanks, but i want my home page's site (name of home page ), be index.php


Another option and probably more manageable in the long run is to put coppermine in its own folder.
Coppermine file's was in root my site. I look like them.
Logged

Nibbler

  • Guest
Re: Can i change index.php to mainpagegallery.php?
« Reply #6 on: September 03, 2007, 05:27:03 pm »

Then the only option you leave yourself is going through the code and changing index.php to mainpagegallery.php
Logged

mlsbv

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Can i change index.php to mainpagegallery.php?
« Reply #7 on: September 03, 2007, 05:42:16 pm »

What's file i should do edit? where is usually index.php?

Thanks for all
Logged

Nibbler

  • Guest
Re: Can i change index.php to mainpagegallery.php?
« Reply #8 on: September 03, 2007, 07:37:00 pm »

Search through the files.
Logged
Pages: [1]   Go Up
 

Page created in 0.38 seconds with 19 queries.