I've just stumbled upon octobercms and as I've already played around a bit with laravel I decided to give it a try. Perhaps what hit my eye most strikingly is the different directory structure in octobercms and laravel: in laravel I have a 'public' directory to which I point for my installation if accessed over the net (http://www.mywebsite.tld points to public/index.php). In octobercms that index.php file is on the same level in the directory hierarchie as all the other parts like e.g. app/config. I would usually avoid to have my config (containing my db credentials etc.) in a place that's (in theory) accessible over www.
Is it possible (resp. recommendable) to move index.php to e.g. public/index.php and let the webserver point to that location as public access-point instead of the default location? Or would that break future updates or have some other negative sideeffects?
thanks, Stefan
Last updated