debug.php 1.6 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. // +--------------------------------------------------------------------------
  3. // | Senthot [ DEVELOPED BY ME ]
  4. // +--------------------------------------------------------------------------
  5. // | Copyright (c) 2005-2013 http://www.senthot.com All rights reserved.
  6. // | License ( http://www.apache.org/licenses/LICENSE-2.0 )
  7. // | Author: ms134n ( [email protected] )
  8. // +--------------------------------------------------------------------------
  9. /**
  10. * Senthot The default configuration file Debug Mode
  11. * If the project has Debug Mode to define your own configuration file, the file is invalid
  12. * @category Sen
  13. * @package Common
  14. * @author ms134n <[email protected]>
  15. * @version $Id: debug.php 3071 2012-07-15 07:59:23Z [email protected] $
  16. */
  17. defined('SEN_PATH') or exit();
  18. // Debug Mode The following default settings You can redefine the project configuration directory debug.php cover
  19. return array(
  20. 'LOG_RECORD' => true, // Logging
  21. 'LOG_EXCEPTION_RECORD' => true, // Whether to log exception information log
  22. 'LOG_LEVEL' => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // Allows you to record the log level
  23. 'DB_FIELDS_CACHE' => false, // Field cache information
  24. 'DB_SQL_LOG' => true, // Logging SQL Information
  25. 'APP_FILE_CASE' => true, // Whether to check the case file Valid for Windows platforms
  26. 'TMPL_CACHE_ON' => false, // Open the compiled template caching, set to false then every will be recompiled
  27. 'TMPL_STRIP_SPACE' => false, // Removal of HTML template files spaces and line
  28. 'SHOW_ERROR_MSG' => true, // Display an error message
  29. );