CodeIgniter Forums
application folder - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: application folder (/showthread.php?tid=44705)



application folder - El Forum - 08-24-2011

[eluser]Unknown[/eluser]
Hey,
I'm building a new website on the CI-based CMS fuel. It's comes along with the following folder structure by default:

- index.php
- assets/
- system/
- - application/
- - codigniter/
- - modules/
...

I would like to have it like this so I just changed the app path in index.php.

- index.php
- assets/
- application/
- system/
- - codigniter/

I got some errors, there were some constants to change in fuel_constants.php but I did that.
Right now I get another one. If I run the page and look at the source it says something like "Method base_path() not found in (my view file)"...
It runs my code till I use a CI function.

Is there anyone with an idea on how to fix this?
Thanks