config.php 524 B

1234567891011
  1. <?php
  2. define('VERSION', 'base');//定义系统版本
  3. define('SITE_MODE', 'dev');//用于加载不同环境下的配置文件
  4. SITE_MODE=='dev' and (defined('YII_ENV') or define('YII_ENV', 'dev'));
  5. SITE_MODE=='dev' and (defined('YII_DEBUG') or define('YII_DEBUG',true));
  6. // specify how many levels of call stack should be shown in each log message
  7. defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  8. return array(
  9. 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',//config.php所在目录的上级目录
  10. );
  11. ?>