check if base url ends with /app/index.php
support gnome 3.8