Welcome Guest, Not a member yet? Register   Sign In
moving index.php file in to system folder
#1

[eluser]runrun[/eluser]
Hi,

For moving the index.php to system folder, which action should i take note of ?
#2

[eluser]Dam1an[/eluser]
All you need to do is set the 2 paths in the endex.php to reflect the changes
But more importantly, why do you want to do this, its normally a better idea to move the system folder outside of the web root
#3

[eluser]jdfwarrior[/eluser]
You'll need to change your .htaccess as well to reflect the new location.

Dam1an: He didn't say he was leaving the system folder in the web root. He just wants to have the index.php located within system. I also dont understand why he would wanna do that, but, to each his own.
#4

[eluser]Dam1an[/eluser]
[quote author="jdfwarrior" date="1240794374"]
Dam1an: He didn't say he was leaving the system folder in the web root. He just wants to have the index.php located within system. I also dont understand why he would wanna do that, but, to each his own.[/quote]

How would an index.php not as a web root act as the front controller?
#5

[eluser]jdfwarrior[/eluser]
It might not. I was just saying that he didn't specifically mention it. It would seem that if your using a mod rewrite though, that the index file could technically be anywhere you want it to be. As long as paths are adjusted to work properly in relation to the location of that index.php file.




Theme © iAndrew 2016 - Forum software by © MyBB