Configuration interpretation of CI framework system constant file constants.php

WBOY
Release: 2016-07-25 08:59:35
Original
1408 people have browsed it
  1. /*

  2. |--------------------------------------------------------------------------
  3. | File and Directory Modes
  4. |--------------------------------------------------------------------------
  5. */
  6. define('FILE_READ_MODE', 0644);
  7. define('FILE_WRITE_MODE', 0666);
  8. define('DIR_READ_MODE', 0755);
  9. define('DIR_WRITE_MODE', 0777);

  10. /*

  11. |-------------------------------------
  12. | File Stream Modes 文件流模式
  13. |-------------------------------------

  14. | These modes are used when working with fopen()/popen()

  15. */

  16. define('FOPEN_READ', 'rb');
  17. define('FOPEN_READ_WRITE', 'r+b');
  18. define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
  19. define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
  20. define('FOPEN_WRITE_CREATE', 'ab');
  21. define('FOPEN_READ_WRITE_CREATE', 'a+b');
  22. define('FOPEN_WRITE_CREATE_STRICT', 'xb');
  23. define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');

  24. /* End of file constants.php */

  25. /* Location: ./application/config/constants.php */
  26. ?>

复制代码


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template