Пример #1
0
 * @package   openbiz.bin
 * @copyright Copyright © 2005-2009, Rocky Swen
 * @license   http://www.opensource.org/licenses/bsd-license.php
 * @link      http://www.phpopenbiz.org/
 * @version   $Id$
 */
// run controller
//
//session_cache_limiter('public');
ob_start();
header('Content-Type: text/html; charset=utf-8');
include_once "sysheader.inc";
//print_r($_FILES); exit;
$bizCtrller = new BizController();
if ($bizCtrller->processSecurityFilters() === true) {
    $bizCtrller->dispatchRequest();
}
/**
 * BizController is the class that dispatches client requests to proper objects
 *
 * @package   openbiz.bin
 * @author    Rocky Swen <*****@*****.**>
 * @copyright Copyright (c) 2005-2009, Rocky Swen
 * @access    public
 */
class BizController
{
    private $_userTimeoutView = USER_TIMEOUT_VIEW;
    private $_accessDeniedView = ACCESS_DENIED_VIEW;
    private $_securityDeniedView = SECURITY_DENIED_VIEW;
    /**
Пример #2
0
 * @copyright Copyright (c) 2005-2011, Rocky Swen
 * @license   http://www.opensource.org/licenses/bsd-license.php
 * @link      http://www.phpopenbiz.org/
 * @version   $Id: BizController.php 5321 2013-03-21 07:20:24Z rockyswen@gmail.com $
 */
// run controller
//
//session_cache_limiter('public');
ob_start();
header('Content-Type: text/html; charset=utf-8');
include_once "sysheader_inc.php";
// start session context object
BizSystem::sessionContext();
$bizController = new BizController();
if ($bizController->processSecurityFilters() === true) {
    $bizController->dispatchRequest();
}
/**
 * BizController is the class that dispatches client requests to proper objects
 *
 * @package   openbiz.bin
 * @author    Rocky Swen <*****@*****.**>
 * @copyright Copyright (c) 2005-2011, Rocky Swen
 * @access    public
 */
class BizController
{
    private $_userTimeoutView = USER_TIMEOUT_VIEW;
    private $_accessDeniedView = ACCESS_DENIED_VIEW;
    private $_securityDeniedView = SECURITY_DENIED_VIEW;
    /**