Welcome Guest, Not a member yet? Register   Sign In
Global Loader Class
#4

[eluser]bretticus[/eluser]
The "boostrap" file for the whole framework is the index.php file. You must have a virtual root for each website. Thus, you could say that you need an application per virtual root. Each of your applications must have the following files at minimum:

Quote:|-- application
| |-- config
| |-- controllers
| |-- errors
| |-- helpers
| |-- hooks
| |-- index.html
| |-- language
| |-- libraries
| |-- models
| `-- views
|-- index.php

You would then have just one copy of the system folder outside of each virtual root (the same one) that you refer to in index.php. The code is all 1.7.2 core so there's no need to change the system folder other than making your common folders to house your global libraries and helpers.


Messages In This Thread
Global Loader Class - by El Forum - 08-10-2010, 09:32 AM
Global Loader Class - by El Forum - 08-10-2010, 10:17 AM
Global Loader Class - by El Forum - 08-10-2010, 10:25 AM
Global Loader Class - by El Forum - 08-10-2010, 12:39 PM
Global Loader Class - by El Forum - 08-10-2010, 12:52 PM
Global Loader Class - by El Forum - 08-10-2010, 12:58 PM
Global Loader Class - by El Forum - 08-10-2010, 01:07 PM
Global Loader Class - by El Forum - 08-10-2010, 01:08 PM
Global Loader Class - by El Forum - 08-10-2010, 01:11 PM
Global Loader Class - by El Forum - 08-10-2010, 01:23 PM
Global Loader Class - by El Forum - 08-10-2010, 01:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB