Skip to content

Consistant Location for index.php File #356

Closed
@astorm

Description

@astorm

As it stands, Magento 2 currently ships with two index.php bootstrap files. One in the root folder

index.php

and one in the pub folder

pub/index.php

This situation creates some uncertainty for end users of the system as to which folder should be exposed to their web-server. The includes of a pub folder will indicated to some developers that this should be the public webroot. However, developers not familiar with the concept will see index.php in the root folder and assume this file should be exposed.

With commenting on which approach is better, a single approach should be chosen for the file to reduce confusion in the system. A single location for the "index bootstrap" files should be chosen, and stuck to. (assuming, of course, there's is not an opaque-but-important reason for the current state of affairs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions