Guest User

Untitled

a guest
Feb 25th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. [config.ini]
  2.  
  3. ;
  4. ; Title: Config file of pH7 Dating Social Community CMS
  5. ;
  6. ; Author: Pierre-Henry Soria <hello@ph7cms.com>
  7. ; Copyright: (c) 2011-2018, Pierre-Henry Soria. All Rights Reserved.
  8. ; License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
  9. ; Link: http://ph7cms.com
  10. ;
  11. ;
  12.  
  13. [application]
  14. ; Default theme (do not change!)
  15. default_theme = base
  16.  
  17. ; Do not change! This is the language of the internal system default
  18. default_lang = "en_US"
  19.  
  20.  
  21. [mode]
  22. ; 'production' or 'development'
  23. environment = development
  24.  
  25.  
  26. [software]
  27. name = "¡pH7! Social Dating CMS"
  28. type = Core
  29. author = "Pierre-Henry Soria"
  30. company = "pH7CMS (Pierre-Henry Soria)"
  31. copyright = "Pierre-Henry Soria, All Rights Reserved."
  32. license = GNU
  33. website = "http://ph7cms.com"
  34. email = "hello@ph7cms.com"
  35.  
  36.  
  37. [database]
  38. type_name = MySQL
  39. type = mysql
  40. hostname = [edited]
  41. username = [edited]
  42. password = [edited]
  43. name = [edited]
  44. prefix = "ph7_"
  45. charset = "utf8mb4"
  46. port = 3306
  47.  
  48.  
  49. [validate]
  50. phone.pattern = "(\+|00)[0-9]{1,3}[0-9]{5,14}(x.+)?"
  51.  
  52.  
  53. [video]
  54. ; Max video size. e.g.,15K, 100M, 4G
  55. upload.max_size = 500M
  56.  
  57. ; FFmpeg path. e.g., Unix: /usr/bin/ffmpeg Windows: C:\ffmpeg\ffmpeg.exe
  58. handle.ffmpeg_path = "/usr/bin/ffmpeg"
  59.  
  60.  
  61. [cookie]
  62. ; If you have multiple sites with this CMS on the same domain, the prefix is used to avoid the collision between the same cookie
  63. prefix = "pH78d7df_"
  64.  
  65. ; 31536000 seconds = 1 year
  66. expiration = 31536000
  67. path = "/"
  68.  
  69. ; Cookie domain, for example 'yoursite.com'.
  70. ; To make cookies visible on all subdomains then the domain must be prefixed with a dot like '.yoursite.com'
  71. domain = mysite.com
  72.  
  73.  
  74. [session]
  75. prefix = "pH78d7df_"
  76.  
  77. ; WARNING The session name can't consist of digits only, at least one letter must be present.
  78. ; Otherwise a new session id is generated every time.
  79. ; e.g., PHPSESSID
  80. cookie_name = "PHS7SESS"
  81.  
  82. ; 10800 seconds = 3 hours
  83. expiration = 10800
  84. path = "/"
  85.  
  86. ; Session Cookie domain, for example 'yoursite.com'.
  87. ; To make cookies visible on all subdomains then the domain must be prefixed with a dot like '.yoursite.com'
  88. domain = PH7_DOMAIN_COOKIE
  89.  
  90.  
  91. [cache]
  92. ; General cache, usually for database contents, but may also involve other data
  93. enable.general.cache = 1
  94.  
  95. ; Caching for HTML contents from template files
  96. enable.html.tpl.cache = 1
  97.  
  98. ; Caching for JavaScript and CSS files, It's very important to activate it if you use the compressor code, but you must disable it when you are in developing mode
  99. enable.static.cache = 1
  100.  
  101. ; Minify the code for CSS, HTML, PHP and JavaScript (also minify dynamically the code like Geo Maps code)
  102. enable.static.minify = 1
  103.  
  104. ; Gzip compression for JavaScript, CSS and other static files
  105. enable.static.gzip_compress = 1
  106.  
  107. ; base64 encode for images if file-size is lower than 24KB
  108. enable.static.data_uri = 0
  109.  
  110. ; Enable or Disabled Google Closure Compiler Service (https://closure-compiler.appspot.com )for the JS files. If you use for too many files at the same time, Google might break it.
  111. enable.js.closure_compiler_service = 0
  112.  
  113. ; Enable or Disabled the compressor with Java
  114. ; (Requires Java installed on your server! This option is usually available on dedicated servers, sometimes on shared hosting. Please contact your hosting company for knowledge)
  115. enable.static.minify_java_compiler = 0
  116.  
  117.  
  118. [ph7cms.api]
  119. ; Never change the pH7CMS API key (and never share it)!! This key is like a password. Each pH7CMS installation has a different one.
  120. ; The key is used for external apps, like iOS/Android apps, external app websites, etc.
  121. private_key = [edited]
  122. ; Domains that can use the API
  123. allow_domains[] = "ph7cms.com"
  124. allow_domains[] = "your-domain-name.com"
  125.  
  126.  
  127. [logging]
  128. log_level = 100
  129. bug_report_email = "admin@admin.admin"
  130.  
  131. ; 'file', 'database' or 'email'
  132. log_handler = file
Add Comment
Please, Sign In to add comment