record support localdatabase.php

not tested with no record modes up to now