paths

edited September 2011 in News & Announcements
Hello!

I'm working on a project which has the following structure:

PROJECT_ROOT
site/
fuel/
index.php
.htaccess

In fuel/ I have the CMS. In site/ I have the public site (codeigniter too).
The problem is that I cannot get rid of the index.php because it is needed by fuel/ in order to function. I would like to move the contents of site/ to the root so I can view the public site without going to site/. I've already tried this but ended up in a mess!

Any suggestions?

Thank you.

Comments

  • edited 3:54PM
    A couple questions:

    1. Is the index.php file the bootstrap index.php file?
    2. What specific folders exists within the fuel folder?
    3. What specific folders exists within the site folder (e.g. assets/... etc?)
  • edited 3:54PM
    Here you go: http://cl.ly/2n2h3F1p3X09392h3L1A

    site/
    fuel/
    index.php (this is the bootstrap which is selected in blue in the picture)
    .htaccess
  • edited 3:54PM
    The index.php bootstrap needs to be in the root directory of your server if you want folks to be able to browse to the site at "/" instead of "/site". Depending on where the application and codeigniter folders are, you may also need to change the paths to those folder in the index.php file ($application_folder, $system_folder).
Sign In or Register to comment.