XoopsX / legacy

XOOPS Cube Legacy base repository
15 stars 11 forks source link

[core] add config data type "encrypt" #59

Closed nao-pon closed 10 years ago

nao-pon commented 11 years ago

ex. (in xoops_version.php)

$modversion['config'] = array(
    array(
        'name'        => 'password',
        'title'       => '_MI_XXX_PASS',
        'description' => '_MI_XXX_PASS_DESC',
        'formtype'    => 'password',
        'valuetype'   => 'encrypt',
        'default'     => '',
        'options'     => array(),
    ) ,
);

In this case, the data 'password', which is stored in the database is encrypted.