function initKeys()
{
- $dir = $this->keyDir();
+ $dir = $this->getkeyDirectory();
if(
file_exists("{$dir}/pub.key") ||
file_exists("{$dir}/pri.key")
function beforeInsert($q, $roo)
{
+ print_r($q);
exit;
return;
'is_encrypt' => isset($a['is_encrypt']) ? $a['is_encrypt'] : 1
));
+ print_r('setting');exit;
+
$s->insert();
}