Add check for empty $url vars in Phire\IndexController