Allow $phpSelf to be identical to $index