Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
264 views
in Technique[技术] by (71.8m points)

php - require once gives error while including credential file for different condition

I am including email credentials file. I have to send mail for user registration and one for user reviews. That works for different condition. I am using require once 2 times. When I used require_once in both conditions it gives error not defined mail variable. When I used only require then there is no error. Actually I am not getting why this happen. Please let me know. I am using codiegniter.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...