4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Sun Zaza on October 07, 2009, 07:29:09 AM

Title: Rename index.php to home.php
Post by: Sun Zaza on October 07, 2009, 07:29:09 AM
Hello,

Because I want to install another scripts who has also index.php, I need to rename the index.php of 4images to home.php or something else. How can I do that? Few years I used a mod of do that for the index.php of PHPbb. So I believe it is possible, but how.

I am sure that a lot of 4images users will appreciate your help and or tips.

Any reaction will be appreciated.
Many thanks in advance,

Cruxy
Title: Re: Rename index.php to home.php
Post by: V@no on October 07, 2009, 07:40:50 AM
there are many places in 4images where index.php is hard coded, you'll need change all of them to make it work.
Title: Re: Rename index.php to home.php
Post by: Sun Zaza on October 07, 2009, 07:43:21 AM
Thanks V@no for your reply.

So you mean that it is better to find another solution instead of renaming index.php?
Title: Re: Rename index.php to home.php
Post by: Sunny C. on October 07, 2009, 08:44:18 AM
Use Notepad++ (http://notepad-plus.sourceforge.net/de/site.htm)
Open the 4images Folder
Push STRG+F
Serach index.php
Replace with home.php

Title: Re: Rename index.php to home.php
Post by: Sun Zaza on October 07, 2009, 08:56:25 AM
@Sumale.nin
Are sure about that?

@V@no & Nick
What do you think about this solution guys?

Thanks in advance,
Cruxy
Title: Re: Rename index.php to home.php
Post by: V@nо on October 07, 2009, 02:58:33 PM
whatever you do, make backup first ;)
Title: Re: Rename index.php to home.php
Post by: siredgar on October 12, 2009, 01:00:04 AM
Would it not be simpler to put 4images in a different directory? May also prevent grief later if/when you attempt to install another mod or update.
Title: Re: Rename index.php to home.php
Post by: Sun Zaza on October 15, 2009, 09:44:32 AM
Thanks for all your tips. I decided to not change the index.php to home.php. I found another solution.

Cruxy