equal
deleted
inserted
replaced
1904 'activation_link' => $aklink, |
1904 'activation_link' => $aklink, |
1905 'admin_user' => $admin_user, |
1905 'admin_user' => $admin_user, |
1906 'username' => $u |
1906 'username' => $u |
1907 )); |
1907 )); |
1908 |
1908 |
1909 error_reporting(E_ALL); |
|
1910 if(getConfig('smtp_enabled') == '1') |
1909 if(getConfig('smtp_enabled') == '1') |
1911 { |
1910 { |
1912 $result = smtp_send_email($r['email'], $lang->get('user_reg_activation_email_subject'), preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email')); |
1911 $result = smtp_send_email($r['email'], $lang->get('user_reg_activation_email_subject'), preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email')); |
1913 if($result == 'success') $result = true; |
1912 if($result == 'success') $result = true; |
1914 else { echo $result; $result = false; } |
1913 else { echo $result; $result = false; } |
1958 'admin_user' => $admin_user, |
1957 'admin_user' => $admin_user, |
1959 'site_link' => $link |
1958 'site_link' => $link |
1960 ) |
1959 ) |
1961 ); |
1960 ); |
1962 |
1961 |
1963 error_reporting(E_ALL); |
|
1964 |
1962 |
1965 if(getConfig('smtp_enabled') == '1') |
1963 if(getConfig('smtp_enabled') == '1') |
1966 { |
1964 { |
1967 $result = smtp_send_email($r['email'], getConfig('site_name').' website account activation', preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email')); |
1965 $result = smtp_send_email($r['email'], getConfig('site_name').' website account activation', preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email')); |
1968 if($result == 'success') |
1966 if($result == 'success') |