Subversion Repositories ALCASAR

Rev

Rev 1614 | Rev 1827 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1614 Rev 1818
Line 112... Line 112...
112
$conf_file=$dir_etc."alcasar.conf";
112
$conf_file=$dir_etc."alcasar.conf";
113
if (isset($_POST['choix'])){ $choix=$_POST['choix']; } else { $choix=""; }
113
if (isset($_POST['choix'])){ $choix=$_POST['choix']; } else { $choix=""; }
114
switch ($choix)
114
switch ($choix)
115
{
115
{
116
case 'MAJ_cat_wl' :
116
case 'MAJ_cat_wl' :
117
	$tab=file($wl_categories_enabled);	
117
	if (file_exists($wl_categories_enabled))
118
	if ($tab)
-
 
119
		{
118
		{
120
		$pointeur=fopen($wl_categories_enabled, "w+");
119
		$pointeur=fopen($wl_categories_enabled, "w+");
121
		foreach ($_POST as $key => $value)
120
		foreach ($_POST as $key => $value)
122
			{
121
			{
123
			if (strstr($key,'chk-'))
122
			if (strstr($key,'chk-'))