Inconsistency between documentation and installation

I noticed there are differences between NC-documentation and NC-installation. For example, server admin manual says “Trusted domains” should be in the form:

'trusted_domains' =>
  array (
   0 => 'localhost',
   1 => '',
   2 => '',
   3 => '[fe80::1:50]',

But when you download latest, extract it and look into ./config/config.sample.php, the same setting is defined as:

'trusted_domains' =>

So what is proper and correct way? If both, then there should be some notice about it somewhere.

Something similar for caching. I have seen somewhere:

'memcache.local' => '\OC\Memcache\APCu',

but also:

'memcache.local' => '\\OC\\Memcache\\APCu',

Both probably mean the same, but still it might be confusing for any new user. I think this inconsistency between documentation and installation should be avoided.

1 Like