lite.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. // Lite模式定义文件
  12. return array(
  13. 'core' => array(
  14. THINK_PATH.'Common/functions.php', // 系统函数库
  15. CORE_PATH.'Core/Log.class.php',// 日志处理
  16. MODE_PATH.'Lite/App.class.php', // 应用程序类
  17. MODE_PATH.'Lite/Action.class.php',// 控制器类
  18. MODE_PATH.'Lite/Dispatcher.class.php',
  19. ),
  20. // 项目别名定义文件 [支持数组直接定义或者文件名定义]
  21. 'alias' => array(
  22. 'Model' => MODE_PATH.'Lite/Model.class.php',
  23. 'Db' => MODE_PATH.'Lite/Db.class.php',
  24. 'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
  25. 'TagLib' => CORE_PATH.'Template/TagLib.class.php',
  26. 'Cache' => CORE_PATH.'Core/Cache.class.php',
  27. 'Debug' => CORE_PATH.'Util/Debug.class.php',
  28. 'Session' => CORE_PATH.'Util/Session.class.php',
  29. 'TagLibCx' => CORE_PATH.'Driver/TagLib/TagLibCx.class.php',
  30. ),
  31. // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ]
  32. 'extends' => MODE_PATH.'Lite/tags.php',
  33. );