Welcome Guest, Not a member yet? Register   Sign In
doubt with views path
#1

Hi!

I have a question, by default, the directory paths are in:

Code:
/application/views/

There is a security problem or other problem if I move this directory out of application? for example:

Code:
/application/*

/public/*
/public/views/*

/system/*
Reply
#2

(This post was last modified: 04-16-2016, 02:38 AM by arma7x.)

You should not place it there. Read index.html in your views folder, it's say "Directory access is forbidden". Views folder is application property and not for public view/access.
KeepĀ calm.
Reply
#3

Thank you very much, I read a code of a fork that someone did in codeigniter (I do not remember where I saw it, I think in https://packagist.org/) and had never seen the outside views directory application, so had I doubt whether it was good or bad idea to replicate that.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB