Fix #2353
Documentation: fix some outdated paths
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
Merge pull request #2366 from vlakoff/develop

index.php: minor improvement in VIEWPATH definition code