db_ini public function rewitch

Signed-off-by: SamLaio <f85122@gmail.com>