You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.7 KiB
PHTML
48 lines
1.7 KiB
PHTML
2 years ago
|
<?php
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Author: liu21st <liu21st@gmail.com>
|
||
|
// +----------------------------------------------------------------------
|
||
|
|
||
|
/**
|
||
|
* ThinkPHP Lite模式定义
|
||
|
*/
|
||
|
return array(
|
||
|
// 配置文件
|
||
|
'config' => array(
|
||
|
MODE_PATH.'Lite/convention.php', // 系统惯例配置
|
||
|
CONF_PATH.'config'.CONF_EXT, // 应用公共配置
|
||
|
),
|
||
|
|
||
|
// 别名定义
|
||
|
'alias' => array(
|
||
|
'Think\Exception' => CORE_PATH . 'Exception'.EXT,
|
||
|
'Think\Model' => CORE_PATH . 'Model'.EXT,
|
||
|
'Think\Db' => CORE_PATH . 'Db'.EXT,
|
||
|
'Think\Cache' => CORE_PATH . 'Cache'.EXT,
|
||
|
'Think\Cache\Driver\File' => CORE_PATH . 'Cache/Driver/File'.EXT,
|
||
|
'Think\Storage' => CORE_PATH . 'Storage'.EXT,
|
||
|
),
|
||
|
|
||
|
// 函数和类文件
|
||
|
'core' => array(
|
||
|
MODE_PATH.'Lite/functions.php',
|
||
|
COMMON_PATH.'Common/function.php',
|
||
|
CORE_PATH . 'Hook'.EXT,
|
||
|
CORE_PATH . 'App'.EXT,
|
||
|
CORE_PATH . 'Dispatcher'.EXT,
|
||
|
//CORE_PATH . 'Log'.EXT,
|
||
|
CORE_PATH . 'Route'.EXT,
|
||
|
CORE_PATH . 'Controller'.EXT,
|
||
|
CORE_PATH . 'View'.EXT,
|
||
|
),
|
||
|
// 行为扩展定义
|
||
|
'tags' => array(
|
||
|
),
|
||
|
);
|