#!/usr/bin/env php
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------

// 定义项目路径
defined('SITE_PATH') or define('SITE_PATH', str_replace('\\', '/', realpath(dirname(__FILE__) . '/')) . "/");
defined('PUBLIC_PATH') or define('PUBLIC_PATH', SITE_PATH . 'public/');
// 定义应用目录
define('APP_PATH', SITE_PATH . 'application/');//加载自定义配置
define('CONF_PATH', APP_PATH);
require PUBLIC_PATH . 'php/yb.version.php';
// 加载框架引导文件
require SITE_PATH . 'thinkphp/console.php';