} //Set include path to library directory set_include_path(implode(PATH_SEPARATOR, array(APPLICATION_PATH . '/library', get_include_path()))); // Define PATH's (absolute paths) to configuration, controllers, DotKernel, templates directories define('CONFIGURATION_PATH', APPLICATION_PATH . '/configs'); define('CONTROLLERS_PATH', APPLICATION_PATH . '/controllers'); define('DOTKERNEL_PATH', APPLICATION_PATH . '/DotKernel'); define('TEMPLATES_PATH', APPLICATION_PATH . '/templates'); // Define DIRECTORIES ( relative paths) define('TEMPLATES_DIR', '/templates'); define('IMAGES_DIR', '/images'); // Load Zend Framework require_once 'Zend/Loader/Autoloader.php'; $zendLoader = Zend_Loader_Autoloader::getInstance(); //includes all classes in library folder. That class names must start with Dot_ $zendLoader->registerNamespace('Dot_'); // also load plugin classes $zendLoader->registerNamespace('Plugin_'); // getting the request related params Dot_Request::setRequestData($_SERVER, $_GET, $_POST); // initialize the DotKernel Enviromnment Dot_Kernel::initialize($startTime); /** Pass control to the controller .'' ._.-.___.' (`\ //( ( `' '/ )\ ).__. ) ' <' `\ ._/'\ ` \ \ */ Dot_Kernel::gallop();