edit class config php