Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
090bf44a
Commit
090bf44a
authored
10 years ago
by
Morris Jobke
Browse files
Options
Downloads
Patches
Plain Diff
Additional changes to config.sample.php and typo fixes
parent
7238cb60
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/config.sample.php
+32
-29
32 additions, 29 deletions
config/config.sample.php
with
32 additions
and
29 deletions
config/config.sample.php
+
32
−
29
View file @
090bf44a
...
...
@@ -20,7 +20,7 @@
*/
/**
* Only enable this for local development and not in producti
ve
environments
* Only enable this for local development and not in producti
on
environments
* This will disable the minifier and outputs some additional debug informations
*/
define
(
'DEBUG'
,
true
);
...
...
@@ -38,7 +38,7 @@ $CONFIG = array(
/**
* This is a unique identifier for your ownCloud installation, created
* automatically by the installer.
* automatically by the installer.
Do not change it.
*/
'instanceid'
=>
''
,
...
...
@@ -83,9 +83,8 @@ $CONFIG = array(
'dbhost'
=>
''
,
/**
* The name of the ownCloud database for your installation. The default name is
* ``owncloud``, and you may give it any arbitrary name at installation when
* your database is MySQL, MariaDB, or PostgreSQL.
* The name of the ownCloud database, which is set during installation. You
* should not need to change this.
*/
'dbname'
=>
'owncloud'
,
...
...
@@ -141,14 +140,15 @@ $CONFIG = array(
'defaultapp'
=>
'files'
,
/**
* ``true`` enables the Help menu item in the user menu (top
lef
t of the
* ``true`` enables the Help menu item in the user menu (top
righ
t of the
* ownCloud Web interface). ``false`` removes the Help item.
*/
'knowledgebaseenabled'
=>
true
,
/**
* ``true`` enables avatars, or user profile photos. These appear on the User
* page and on user's Personal pages. ``false`` disables them.
* page, on user's Personal pages and are used by some apps (contacts, mail,
* etc). ``false`` disables them.
*/
'enable_avatars'
=>
true
,
...
...
@@ -324,7 +324,8 @@ $CONFIG = array(
/**
* This option allows you to define a manual override condition as a regular
* expression for the remote IP address. For example, defining a range of IP
* addresses starting with ``10.`` and ending with 1 to 3: ``^10\.0\.0\.[1-3]$``
* addresses starting with ``10.0.0.`` and ending with 1 to 3:
* ``^10\.0\.0\.[1-3]$``
*/
'overwritecondaddr'
=>
''
,
...
...
@@ -341,13 +342,13 @@ $CONFIG = array(
/**
* Deleted Items
* Deleted Items
(trash bin)
*
* These parameters control the Deleted files app.
*/
/**
* When the
delete
app is enabled (default), this is the number of days a file
* When the
trash bin
app is enabled (default), this is the number of days a file
* will be kept in the trash bin. Default is 30 days.
*/
'trashbin_retention_obligation'
=>
30
,
...
...
@@ -368,12 +369,13 @@ $CONFIG = array(
/**
* Check 3rd party apps to make sure they are using the private API and not the
* public API. If the app uses the p
ublic
API it cannot be installed.
* public API. If the app uses the p
rivate
API it cannot be installed.
*/
'appcodechecker'
=>
true
,
/**
* Check if ownCloud is up-to-date.
* Check if ownCloud is up-to-date and shows a notification if a new version is
* available.
*/
'updatechecker'
=>
true
,
...
...
@@ -389,10 +391,11 @@ $CONFIG = array(
'check_for_working_webdav'
=>
true
,
/**
* Verifies whether the ``.htaccess`` file may be modified by ownCloud. If set
* to ``false``, this check will not be performed. If the file cannot be
* modified, items such as large file uploads cannot be performed. This check
* only affects Apache servers.
* This is a crucial security check on Apache servers that should always be set
* to ``true``. This verifies that the ``.htaccess`` file is writable and works.
* If it is not, then any options controlled by ``.htaccess``, such as large
* file uploads, will not work. It also runs checks on the ``data/`` directory,
* which verifies that it can't be accessed directly through the web server.
*/
'check_for_working_htaccess'
=>
true
,
...
...
@@ -414,8 +417,8 @@ $CONFIG = array(
'logfile'
=>
'owncloud.log'
,
/**
* Valid values are: 0 = Debug, 1 = Info, 2 =
Warning, 3 = Error. The default
* value is Warning.
*
Loglevel to start logging at.
Valid values are: 0 = Debug, 1 = Info, 2 =
*
Warning, 3 = Error. The default
value is Warning.
*/
'loglevel'
=>
2
,
...
...
@@ -443,9 +446,9 @@ $CONFIG = array(
/**
* Enables log rotation and limits the total size of logfiles. The default is 0,
* or no rotation. Specify a size in bytes, for example
500000
00 (
5
0 megabytes
).
* A new logfile is created with a new name when the
old logfile reaches your
* limit. The total size of all logfiles is double the
* or no rotation. Specify a size in bytes, for example
1048576
00 (
10
0 megabytes
*
= 100 * 1024 * 1024 bytes).
A new logfile is created with a new name when the
*
old logfile reaches your
limit. The total size of all logfiles is double the
* ``log_rotate_sizerotation`` value.
*/
'log_rotate_size'
=>
false
,
...
...
@@ -503,7 +506,7 @@ $CONFIG = array(
* should be installed from the Apps store. The ``path`` defines the absolute
* file system path to the app folder. The key ``url`` defines the HTTP web path
* to that folder, starting from the ownCloud web root. The key ``writable``
* indicates if a
user can install apps in
that folder.
* indicates if a
web server can write files to
that folder.
*/
'apps_paths'
=>
array
(
array
(
...
...
@@ -548,11 +551,11 @@ $CONFIG = array(
*/
'preview_max_scale_factor'
=>
10
,
/**
* custom path for
l
ibre
o
ffice
/ o
pen
o
ffice binary
* custom path for
L
ibre
O
ffice
/O
pen
O
ffice binary
*/
'preview_libreoffice_path'
=>
'/usr/bin/libreoffice'
,
/**
* Use this if LibreOffice requires additional arguments.
* Use this if LibreOffice
/OpenOffice
requires additional arguments.
*/
'preview_office_cl_parameters'
=>
' --headless --nologo --nofirststartwizard --invisible --norestore '
.
...
...
@@ -657,7 +660,7 @@ $CONFIG = array(
/**
* X-Frame-Restriction is a header which prevents browsers from showing the site
* inside an iframe. This
may
be used to prevent clickjacking. It is risky to
* inside an iframe. This
is
be used to prevent clickjacking. It is risky to
* disable this, so leave it set at ``true``.
*/
'xframe_restriction'
=>
true
,
...
...
@@ -703,17 +706,17 @@ $CONFIG = array(
* increase when it's certain that no changes are made directly to the
* filesystem
*
* 1 -> Check each file or folder at most once per request, rec
c
omended for
* 1 -> Check each file or folder at most once per request, reco
m
mended for
* general use if outside changes might happen.
*
* 2 -> Check every time the filesystem is used, causes a performance hit when
* using external storages, not recomended for regular use.
* using external storages, not recom
m
ended for regular use.
*/
'filesystem_check_changes'
=>
1
,
/**
* All css and js files will be served by the web server statically in one js
* file and one css file.
* file and one css file
if this is set to ``true``
.
*/
'asset-pipeline.enabled'
=>
false
,
...
...
@@ -804,7 +807,7 @@ $CONFIG = array(
* configuration. DO NOT ADD THIS SWITCH TO YOUR CONFIGURATION!
*
* If you, brave person, have read until here be aware that you should not
* modify *ANY* settings in this file without reading the documentation
* modify *ANY* settings in this file without reading the documentation
.
*/
'copied_sample_config'
=>
true
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment