/web/acc/admin/wl_filter.php |
---|
206,7 → 206,8 |
case 'MAJ_cat_wl' : |
if (file_exists($wl_categories_enabled)) |
{ |
$pointeur=fopen($wl_categories_enabled, "w+"); |
exec("/bin/sed -i \"/^ossi-/!d\" $wl_categories_enabled"); // keep ossi custom categories |
$pointeur=fopen($wl_categories_enabled, "a+"); |
foreach ($_POST as $key => $value) |
{ |
if (strstr($key,'chk-')) |