Revision 1368
Added by Luisehahne almost 15 years ago
| class.wb.php | ||
|---|---|---|
| 24 | 24 |
// Include new wbmailer class (subclass of PHPmailer) |
| 25 | 25 |
require_once(WB_PATH."/framework/class.wbmailer.php"); |
| 26 | 26 |
|
| 27 |
require_once(WB_PATH."/framework/class.secureform.php");
|
|
| 27 |
require_once(WB_PATH."/framework/SecureForm.php");
|
|
| 28 | 28 |
|
| 29 | 29 |
class wb extends SecureForm |
| 30 | 30 |
{
|
| ... | ... | |
| 331 | 331 |
/* |
| 332 | 332 |
// Validate supplied email address |
| 333 | 333 |
function validate_email($email) {
|
| 334 |
if(function_exists('idn_to_ascii')){ // use pear if available
|
|
| 334 |
if(function_exists('idn_to_ascii')){ // use pear if available
|
|
| 335 | 335 |
$email = idn_to_ascii($email); |
| 336 | 336 |
}else {
|
| 337 | 337 |
require_once(WB_PATH.'/include/idna_convert/idna_convert.class.php'); |
Also available in: Unified diff
delete class.secureform.php
add newest SecureForm
fixed Call to a member function read() on a non-object in function register_frontend_modfiles