Welcome Guest, Not a member yet? Register   Sign In
Changing extension from .php
#6

(08-03-2015, 01:40 PM)jLinux Wrote:
(08-03-2015, 04:21 AM)Narf Wrote:
(08-03-2015, 03:36 AM)Diederik Wrote: And it has been removed completely in 3.0. I've checked a few core files and they all have hardcoded '.php' references. Not quite shure why CI made the switch from dynamic to a static situation.

Because changing the filename extension to something else than .php is even more terrible than manually modifying the framework.

Why is it more terrible?

Because nowadays everything assumes that PHP scripts would have the .php filename extension, including numerous security measures both in PHP itself and outside of it. Therefore, simply changing from .php to something else decreases security and is a disaster waiting to happen.

Worst of all, you have no necessity to do that in the first place; it's a change for the sake of change and that's always bad.
Reply


Messages In This Thread
Changing extension from .php - by jLinux - 08-02-2015, 07:00 PM
RE: Changing extension from .php - by Diederik - 08-03-2015, 03:36 AM
RE: Changing extension from .php - by Narf - 08-03-2015, 04:21 AM
RE: Changing extension from .php - by jLinux - 08-03-2015, 01:40 PM
RE: Changing extension from .php - by Narf - 08-04-2015, 03:43 AM
RE: Changing extension from .php - by msteudel - 08-03-2015, 11:08 PM
RE: Changing extension from .php - by InsiteFX - 08-04-2015, 03:57 AM
RE: Changing extension from .php - by mwhitney - 08-04-2015, 08:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB