<?php
run_query('UPDATE ' . $config['table_prefix'] . 'protect SET acc = 1 WHERE elem_id <= 0');
run_query('UPDATE ' . $config['table_prefix'] . 'protect SET ext = \'{"tab_acc":1,"view_acc":1,"edit_acc":1,"add_acc":1,"sub_acc":1,"exp_acc":1,"imp_acc":1}\' WHERE elem_type = \'field\' AND elem_id <= 0');