Jump to content

Move application and system folders in CI / change some GC default path


  • Please log in to reply
No replies to this topic

#1 Edwin K

Edwin K


  • Members
  • Pip
  • 4 posts
  • LocationRouen - FRANCE

Posted 22 February 2018 - 09:54 AM



In this tutorial : https://youtu.be/oEcASXlbNpg it is explained at the minute 1 that it's a good practice for security reasons to move the folders application and system of CI one folder upper, outside the public_html folder so that no one would be able to access them.


In that case, GC tries to read files in assets folders which have moved one directory upper. So GC Crud doesn't work anymore and one error among many other errors is for example:


   A PHP Error was encountered:

   Severity: Warning

   Message: include(assets/grocery_crud/languages/english.php): failed to open stream: No such file or directory

   Filename: libraries/Grocery_CRUD.php

   Line Number: 4078


So I have 3 questions:


1- Is there a real security issue with keeping application and system folders at origin path?


2- On my side I use Wamp, so i don't have a public_html folder but a folder called mywebsitename inside the www folder, but is this security advice also available?


3- Is there a way to redirect assets default path for GC?


Thank you!

Also tagged with one or more of these keywords: security

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users