init ci & resource with phpexcel