public function runController($__url)
 {
     bu::timer('Controller start.', 'system');
     bu::hook(array('pre_controller', 'blank'));
     ob_start();
     $layout = bu::layout();
     if ($__url->getBinUrl()) {
         $layout->_content_view = $__url->getBinUrl();
     }
     include $__url->getBinFile();
     $__content = ob_get_contents();
     ob_end_clean();
     $layout->content = $__content;
     $layout->generate();
     bu::timer('Controller end.', 'system');
 }
Esempio n. 2
0
<?php

include 'base.php';
include 'boot/spyc.php';
#библиотека для парсинга конфигов
include 'boot/bu_core.php';
include 'boot/bu_cache.php';
include 'boot/bu.php';
#магический класс который управляет всем-всем
include 'boot/bu_route.php';
include 'boot/bu_loader.php';
include 'boot/bu_url.php';
include 'boot/bu_statistic.php';
include 'boot/bu_logger.php';
bu::timer('init', 'system');
bu::hook(array('preload', 'blank'));
BuLoader::setHttpString(RAW_HTTP_STRING);
bu::timer('Aplication start.', 'system');
BuLoader::doIt();
bu::timer('Aplication end.', 'system');
bu::hook(array('postload', 'blank'));
Esempio n. 3
0
<?php

require_once 'lib/prj/cache.php';
include 'base.php';
include 'boot/spyc.php';
#библиотека для парсинга конфигов
include 'boot/bu_core.php';
include 'boot/bu_cache.php';
include 'boot/bu.php';
#магический класс который управляет всем-всем
include 'boot/bu_route.php';
include 'boot/bu_loader.php';
include 'boot/bu_url.php';
include 'boot/bu_statistic.php';
include 'boot/bu_logger.php';
bu::timer('init', 'system');
bu::hook(array('preload', 'blank'));
Esempio n. 4
0
 public function runController($__url)
 {
     bu::timer('Controller start.', 'system');
     include $__url->getBinFile();
     bu::timer('Controller end.', 'system');
 }