config.php 1018 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * 安装程序配置文件
  4. */
  5. define('INSTALL_APP_PATH', realpath('./') . '/');
  6. return array(
  7. 'ORIGINAL_TABLE_PREFIX' => 'oscshop_', //默认表前缀
  8. 'DEFAULT_THEME' => 'default',
  9. 'TMPL_TEMPLATE_SUFFIX' => '.html',
  10. 'VIEW_PATH' => './Themes/Install/',
  11. 'TMPL_PARSE_STRING'=>array(
  12. '__PUBLIC__' => __ROOT__ . '/Common',
  13. '__RES__' => __ROOT__.'/Themes/'.MODULE_NAME.'/default/Public',
  14. '__IMG__'=>__ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/images',
  15. '__CSS__'=>__ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/css',
  16. '__JS__'=> __ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/js',
  17. '__NAME__'=>'OscShop',
  18. '__COMPANY__'=>' fish ',
  19. '__WEBSITE__'=>'www.liofis.com',
  20. '__COMPANY_WEBSITE__'=>'www.liofis.com'
  21. ),
  22. /* URL配置 */
  23. 'URL_MODEL' => 3, //URL模式
  24. 'DEFAULT_THEME' => 'default', // 默认模板主题名称
  25. 'SESSION_PREFIX' => 'oscshop', //session前缀
  26. 'COOKIE_PREFIX' => 'oscshop_', // Cookie前缀 避免冲突
  27. );