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

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

// check AJAX Request
is_ajax();

// user access
user_access(true);

try {

    
// started
    
$user->settings('started'$_POST);

    
// return
    
return_json( array('success' => true'message' => __("Your info has been updated")) );
    
} catch (
Exception $e) {
    
return_json( array('error' => true'message' => $e->getMessage()) );
}

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