<?php /* * SPL Autoload function. * Loads class files in the order they are called. * This is centralized point of requierying any class that is called. * All class fles within this framework are loaded by single function spl_autoload_register applied here bellow. */ spl_autoload_register(); /* * Initiate framework bootstrap. * Set application title. */ $application = new bootstrap('appfarm'); /* * Build all components required to load application. * Boot-up application. * First parameter is locale setting, if none specified, en_US locale is set by default. */ $application->start(array('urlDepth' => 0, 'locale' => 'us', 'env' => 'dev', 'simpleMode' => false, 'defaultController' => 'about'));