Fix #2353
Merge pull request #2365 from vlakoff/develop

Documentation: fix some outdated paths
index.php: minor improvement in VIEWPATH definition code

Fixes an oversight from 806ca600d3669343ee7ae90a9b5d65be9dfdbefe