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 => 'server1.example.com', 2 => '192.168.1.50', 3 => '[fe80::1:50]', ),
But when you download latest NC.zip, extract it and look into ./config/config.sample.php, the same setting is defined as:
'trusted_domains' => [ 'demo.example.org', 'otherdomain.example.org', '10.111.112.113', '[2001:db8::1]' ],
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',
'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.