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: Renaming index.php to somethingelse.php??  (Read 2973 times)

0 Members and 1 Guest are viewing this topic.

ariev

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Renaming index.php to somethingelse.php??
« on: April 10, 2004, 09:36:56 pm »

If I wanted to rename index.php to something else (ex. fotos.php or gallery.php), I assume that I would need to change all instances of 'index.php?' in the code itself.

Can you give me any advice on this?

Thank you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Renaming index.php to somethingelse.php??
« Reply #1 on: April 11, 2004, 08:47:54 am »

yes, you'd have to go through the code and find all occurences of links to index.php. Not a good idea imo, since you'd have to re-do this every time you upgrade coppermine.

GauGau
Logged

ariev

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Renaming index.php to somethingelse.php??
« Reply #2 on: April 11, 2004, 05:07:51 pm »

Doing a mass search/replace isn't a big deal, but I thought of one possible problem. If there are any references to root ('/') instead of 'index.php', then those would have to be changed too. *That* can be a problem and make a s&r more difficult.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Renaming index.php to somethingelse.php??
« Reply #3 on: April 12, 2004, 07:13:15 am »

afaik there are no references to / (as you usually install coppermine into a folder, not into the webroot), but to $CONFIG['ecards_more_pic_target'], which must be a folder, not a file - this means there may be references to coppermine root in the code that is harder to track.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.