Skip to content

Modified logic of getting controller path#4

Open
hs0zip wants to merge 1 commit into
owen1025:masterfrom
hs0zip:patch-1
Open

Modified logic of getting controller path#4
hs0zip wants to merge 1 commit into
owen1025:masterfrom
hs0zip:patch-1

Conversation

@hs0zip
Copy link
Copy Markdown

@hs0zip hs0zip commented Nov 15, 2015

Directory Setting of CI can be changed(e.g. /app, /ci, /public_html/index.php.), to isolate core files from accessing via web.
In this case, relative path does not always bring user to real controller path.
APPPATH, the CI env value, provides correct path of 'application'.

Directory Setting of CI can be changed(e.g. /app, /ci, /public_html/index.php.), to isolate core files from accessing via web.
In this case, relative path does not always bring user to real controller path.
APPPATH, the CI env value, provides correct path of 'application'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants