<?php

define
('FASTFRAME_ROOT'realpath(dirname(__file__)) . '/');

$a_microtime explode(' 'microtime());
define('FASTFRAME_START_TIME'$a_microtime[1] . substr($a_microtime[0], 1));
define('IN_FASTFRAME'true);

#Autoloader::setCacheFilePath(FASTFRAME_ROOT . '/cache/autoload_class_cache.txt');
require_once FASTFRAME_ROOT '/lib/autoload.php';
Autoloader::excludeFolderNamesMatchingRegex('/^tests|\..*$/');
Autoloader::setClassPaths(array(
    
FASTFRAME_ROOT '/applications',
    
FASTFRAME_ROOT '/lib/FastFrame',
    
FASTFRAME_ROOT '/lib/vendors',
    
FASTFRAME_ROOT '/lib',

));
Autoloader::register();

$o_fastframe = new FastFrame\Controller\Action();
$o_fastframe->execute();

/**
$o_comment = FastFrame\Module\Comments\Controller();
$o_comment->setCommentTable($table);
$o_comment->setApplication($registry->getCurrentApp());
$o_comment->fillById($model->getId());
$output = $o_comment->render(false);

fastframe
    config
        database.php
        generic.php
    applications
        checkout
            library
                controllers
                    loan
                    
                models
                views
            
                
            tests

    library
        modules
            menu
            config
            comments
                controller.php
                model.php
                view.php
        plugins
        FastFrame
        vendors
            Smarty
            Twig
            Doctrine
            SyberIsle
    tests
        FastFrame
*/