Пример #1
0
<?php

loader_import('saf.Misc.RPC');
loader_import('xed.Xspel');
if (empty($parameters['lang'])) {
    $parameters['lang'] = appconf('pspell_default_language');
}
$xs = new Xspel($parameters['lang']);
$xs->removePersonal($parameters['word']);
echo rpc_response(true);
exit;
Пример #2
0
<?php

loader_import('saf.Misc.RPC');
loader_import('xed.Xspel');
if (empty($parameters['lang'])) {
    $parameters['lang'] = appconf('pspell_default_language');
}
$xs = new Xspel($parameters['lang']);
$xs->addPersonal($parameters['word']);
echo rpc_response(true);
exit;