config.sample.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?php
  2. define("DEBUG", true);
  3. $CONFIG = array(
  4. /* Flag to indicate ownCloud is successfully installed (true = installed) */
  5. "installed" => false,
  6. /* Type of database, can be sqlite, mysql or pgsql */
  7. "dbtype" => "sqlite",
  8. /* Name of the ownCloud database */
  9. "dbname" => "owncloud",
  10. /* User to access the ownCloud database */
  11. "dbuser" => "",
  12. /* Password to access the ownCloud database */
  13. "dbpassword" => "",
  14. /* Host running the ownCloud database */
  15. "dbhost" => "",
  16. /* Prefix for the ownCloud tables in the database */
  17. "dbtableprefix" => "",
  18. /* Define the salt used to hash the user passwords. All your user passwords are lost if you lose this string. */
  19. "passwordsalt" => "",
  20. /* Force use of HTTPS connection (true = use HTTPS) */
  21. "forcessl" => false,
  22. /* The automatic hostname detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the automatic detection. You can also add a port. For example "www.example.com:88" */
  23. "overwritehost" => "",
  24. /* The automatic protocol detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the protocol detection. For example "https" */
  25. "overwriteprotocol" => "",
  26. /* Enhanced auth forces users to enter their password again when performing potential sensitive actions like creating or deleting users */
  27. "enhancedauth" => true,
  28. /* Time in seconds how long an user is authenticated without entering his password again before performing sensitive actions like creating or deleting users etc...*/
  29. "enhancedauthtime" => 15 * 60,
  30. /* A proxy to use to connect to the internet. For example "myproxy.org:88" */
  31. "proxy" => "",
  32. /* The optional authentication for the proxy to use to connect to the internet. The format is: [username]:[password] */
  33. "proxyuserpwd" => "",
  34. /* Theme to use for ownCloud */
  35. "theme" => "",
  36. /* Path to the 3rdparty directory */
  37. "3rdpartyroot" => "",
  38. /* URL to the 3rdparty directory, as seen by the browser */
  39. "3rdpartyurl" => "",
  40. /* Default app to load on login */
  41. "defaultapp" => "files",
  42. /* Enable the help menu item in the settings */
  43. "knowledgebaseenabled" => true,
  44. /* URL to use for the help page, server should understand OCS */
  45. "knowledgebaseurl" => "http://api.apps.owncloud.com/v1",
  46. /* Enable installing apps from the appstore */
  47. "appstoreenabled" => true,
  48. /* URL of the appstore to use, server should understand OCS */
  49. "appstoreurl" => "http://api.apps.owncloud.com/v1",
  50. /* Mode to use for sending mail, can be sendmail, smtp, qmail or php, see PHPMailer docs */
  51. "mail_smtpmode" => "sendmail",
  52. /* Host to use for sending mail, depends on mail_smtpmode if this is used */
  53. "mail_smtphost" => "127.0.0.1",
  54. /* Port to use for sending mail, depends on mail_smtpmode if this is used */
  55. "mail_smtpport" => 25,
  56. /* authentication needed to send mail, depends on mail_smtpmode if this is used
  57. * (false = disable authentication)
  58. */
  59. "mail_smtpauth" => false,
  60. /* Username to use for sendmail mail, depends on mail_smtpauth if this is used */
  61. "mail_smtpname" => "",
  62. /* Password to use for sendmail mail, depends on mail_smtpauth if this is used */
  63. "mail_smtppassword" => "",
  64. /* Check 3rdparty apps for malicious code fragments */
  65. "appcodechecker" => "",
  66. /* Check if ownCloud is up to date */
  67. "updatechecker" => true,
  68. /* Place to log to, can be owncloud and syslog (owncloud is log menu item in admin menu) */
  69. "log_type" => "owncloud",
  70. /* File for the owncloud logger to log to, (default is ownloud.log in the data dir */
  71. "logfile" => "",
  72. /* Loglevel to start logging at. 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default is WARN) */
  73. "loglevel" => "",
  74. /* Lifetime of the remember login cookie, default is 15 days */
  75. "remember_login_cookie_lifetime" => 60*60*24*15,
  76. /* The directory where the user data is stored, default to data in the owncloud
  77. * directory. The sqlite database is also stored here, when sqlite is used.
  78. */
  79. // "datadirectory" => "",
  80. "apps_paths" => array(
  81. /* Set an array of path for your apps directories
  82. key 'path' is for the fs path and the key 'url' is for the http path to your
  83. applications paths. 'writable' indicate if the user can install apps in this folder.
  84. You must have at least 1 app folder writable or you must set the parameter : appstoreenabled to false
  85. */
  86. array(
  87. 'path'=> '/var/www/owncloud/apps',
  88. 'url' => '/apps',
  89. 'writable' => true,
  90. ),
  91. ),
  92. 'user_backends'=>array(
  93. array(
  94. 'class'=>'OC_User_IMAP',
  95. 'arguments'=>array('{imap.gmail.com:993/imap/ssl}INBOX')
  96. )
  97. )
  98. );