2011-04-16 10:18:42 +00:00
|
|
|
<?php
|
|
|
|
|
2011-09-22 17:24:32 +00:00
|
|
|
define("DEBUG", true);
|
|
|
|
|
2011-04-16 10:18:42 +00:00
|
|
|
$CONFIG = array(
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Flag to indicate OwnCloud is successfully installed (true = installed) */
|
2011-04-16 10:18:42 +00:00
|
|
|
"installed" => false,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Type of database, can be sqlite, mysql or pgsql */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbtype" => "sqlite",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Name of the OwnCloud database */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbname" => "owncloud",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* User to access the OwnCloud database */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbuser" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Password to access the OwnCloud database */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbpassword" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Host running the OwnCloud database */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbhost" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Prefix for the OwnCloud tables in the database */
|
2011-04-16 10:18:42 +00:00
|
|
|
"dbtableprefix" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Force use of HTTPS connection (true = use HTTPS) */
|
2011-04-16 10:18:42 +00:00
|
|
|
"forcessl" => false,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Theme to use for OwnCloud */
|
2012-02-11 22:25:35 +00:00
|
|
|
"theme" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Path to the 3rdparty directory */
|
2012-02-23 14:37:38 +00:00
|
|
|
"3rdpartyroot" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* URL to the 3rdparty directory, as seen by the browser */
|
2012-02-23 14:37:38 +00:00
|
|
|
"3rdpartyurl" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Default app to load on login */
|
2012-05-11 11:56:52 +00:00
|
|
|
"defaultapp" => "files",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Enable the help menu item in the settings */
|
2012-03-23 14:52:41 +00:00
|
|
|
"knowledgebaseenabled" => true,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* URL to use for the help page, server should understand OCS */
|
|
|
|
"knowledgebaseurl" => "http://api.apps.owncloud.com/v1",
|
|
|
|
/* Enable installing apps from the appstore */
|
2012-03-23 14:52:41 +00:00
|
|
|
"appstoreenabled" => true,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* URL of the appstore to use, server should understand OCS */
|
|
|
|
"appstoreurl" => "http://api.apps.owncloud.com/v1",
|
|
|
|
/* Mode to use for sending mail, can be sendmail, smtp, qmail or php, see PHPMailer docs */
|
2012-04-20 18:49:35 +00:00
|
|
|
"mail_smtpmode" => "sendmail",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Host to use for sending mail, depends on mail_smtpmode if this is used */
|
2012-04-20 18:49:35 +00:00
|
|
|
"mail_smtphost" => "127.0.0.1",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* authentication needed to send mail, depends on mail_smtpmode if this is used
|
|
|
|
* (false = disable authentication)
|
|
|
|
*/
|
2012-05-31 19:27:46 +00:00
|
|
|
"mail_smtpauth" => false,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Username to use for sendmail mail, depends on mail_smtpauth if this is used */
|
2012-04-20 18:49:35 +00:00
|
|
|
"mail_smtpname" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Password to use for sendmail mail, depends on mail_smtpauth if this is used */
|
2012-04-20 18:49:35 +00:00
|
|
|
"mail_smtppassword" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Check 3rdparty apps for malicious code fragments */
|
2012-04-21 20:47:56 +00:00
|
|
|
"appcodechecker" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Place to log to, can be owncloud and syslog (owncloud is log menu item in admin menu) */
|
|
|
|
"log_type" => "owncloud",
|
|
|
|
/* File for the owncloud logger to log to, (default is ownloud.log in the data dir */
|
2012-04-21 21:30:14 +00:00
|
|
|
"logfile" => "",
|
2012-06-07 20:47:18 +00:00
|
|
|
/* Loglevel to start logging at. 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default is WARN) */
|
2012-04-21 21:30:14 +00:00
|
|
|
"loglevel" => "",
|
2012-06-08 10:42:35 +00:00
|
|
|
"passwordsalt" => "",
|
2012-06-09 15:56:23 +00:00
|
|
|
"updatechecker" => true,
|
2012-06-05 15:51:41 +00:00
|
|
|
/* Set this to false to disable the check for writable apps dir.
|
|
|
|
* If the apps dir is not writable, you can't download&install extra apps
|
|
|
|
* in the admin apps menu.
|
|
|
|
*/
|
|
|
|
"writable_appsdir" => true,
|
2012-06-07 20:47:18 +00:00
|
|
|
/* The directory where the user data is stored, default to data in the owncloud
|
|
|
|
* directory. The sqlite database is also stored here, when sqlite is used.
|
|
|
|
*/
|
2011-04-16 10:18:42 +00:00
|
|
|
// "datadirectory" => ""
|
|
|
|
);
|
2010-03-29 14:21:00 +00:00
|
|
|
?>
|