Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just starting trying to learn CodeIgniter. From the user guide it suggests to move the application and system folder for security reasons.

I now have this structure:


i've edited the index.php, adjusting the $system_folder with my complete path ending without slash and $application_folder with the compleate path without the final slash.

I' ve also edited the database.php file inside application/config/ to let it connect to the database. Those data are right.

Now, when i try to access /public/index.php i get a blank page

Thanks for help

share|improve this question
up vote 1 down vote accepted

I figured out the answer - I also needed to update the $config['base_url'] variable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.