When using is_current_url() and a slimphp basepath is set, it won't return true when visiting that route. Removing the basepath fixes it.