. // ============================================================================= // We need to get the root path of the Web site. It's usually something like // /var/www/yourdomain.com. global $RootPath; $RootPath = dirname(__FILE__); // Now that we have defined the root path, load the WebFX content (which also // include_once's the modules and other WebFX-specific stuff) require_once("WebFX/WebFX.inc.php"); // Bring in the WebFX\System and WebFX\IncludeFile classes so we can simply refer // to them (in this file only) as "System" and "IncludeFile", respectively, from // now on use WebFX\System; use WebFX\IncludeFile; // Tell WebFX that we are ready to launch the application. This cycles through // all of the modules (usually you will define your main application content in // 000-Default) and executes the first module page that corresponds to the path // the user is GETting. System::Launch(); ?>