Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: JamesWC on November 17, 2012, 01:33:45 PM

Title: Where is $scripturl defined?
Post by: JamesWC on November 17, 2012, 01:33:45 PM
I want to rename index.php to forum.php, and as there doesn't appear to be a friendly setting for this (like there is for changing the filepath), I assume I'll need to edit the line of code that defines $scripturl - but where is this line of code? :-\

Thanks to anyone who can point me to the relevant file! :D

(I'm using SMF 2.0.2.)
Title: Re: Where is $scripturl defined?
Post by: Adrek on November 17, 2012, 04:11:26 PM
http://www.simplemachines.org/community/index.php?topic=58439.0
works fine with 2.0.2
Title: Re: Where is $scripturl defined?
Post by: JamesWC on November 17, 2012, 05:52:17 PM
Perfect, thanks phantomm!