1280 Posts in 354 Topics by 487 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1205 Views |
-
How to read data in the config file

11 May 2010 at 8:59pm
Hi,
I created a article comment using the help which was given in ssbits.com. In that article, it was asked to add the admin email as a static value to the code. I would like to know, how to add the admin email to the config file and how to get that admin email and assign it to the admin email parameter which use in the email function in the comment file.Can someone help me with this?
Thank you,
Sugith Karunaratne
Web Developer
IBCS Corp -
Re: How to read data in the config file

11 May 2010 at 10:30pm
I would like to know, how to add the admin email to the config file
You should set the admin email with Email::setAdminEmail('email@email.com'). You can then get the admin email using the corresponding function Email::getAdminEmail();
| 1205 Views | ||
|
Page:
1
|
Go to Top |


