Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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:

./public/index.php
./app/
./sys/

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

1 Answer 1

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

 
discard

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.