index.php: minor improvement in VIEWPATH definition code

Fixes an oversight from 806ca600d3669343ee7ae90a9b5d65be9dfdbefe
1 file changed