Вход Регистрация
Файл: sngine-v2.8/Script/includes/ajax/core/activation_email_resend.php
Строк: 20
<?php
/**
 * ajax -> core -> activation email resend
 * 
 * @package Sngine
 * @author Zamblek
 */

// fetch bootstrap
require('../../../bootstrap.php');

// check AJAX Request
is_ajax();

// check user logged in
if(!$user->_logged_in) {
    
modal('LOGIN');
}

try {

    
// activation email resend
    
$user->activation_email_resend();

    
// return
    
modal("SUCCESS"__("Another email has been sent"), __("Please click on the link in that email message to complete the verification process"));

} catch (
Exception $e) {
    
modal("ERROR"__("Error"), $e->getMessage());
}

?>
Онлайн: 0
Реклама