Added config constant to use view.php or not