. // ============================================================================= // Load the Phast content (which also include_once's the system modules and // other Phast-specific stuff) require_once("lib/phast/System.inc.php"); // Bring in the Phast\System and Phast\IncludeFile classes so we can simply refer // to them (in this file only) as "System" and "IncludeFile", respectively, from // now on use Phast\System; use Phast\IncludeFile; // We need to set the root path of the Web site. It's usually something like // /var/www/yourdomain.com. System::SetApplicationPath(dirname(__FILE__)); // Tell Phast that we are ready to launch the application. This searches the entire // directory hierarchy for Phast files, loading *.phpx files as Phast XML files and // *.phpx.php files as PHP code-behind files. We may decide to use the *.ctlx extension // (and its associated *.ctlx.php) for PHPX controls. System::Launch(); ?>