Lines Matching full:lines
154 …// Open local.php, copy its content to $lines, look for $conf['sympaSoapService'] line(s) delete i…
162 $lines[$i] = fgets($local_handle, 1000);
163 …\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$i])) unset($lines[$i--]);
164 } while (!(preg_match('!local.protected.php!', $lines[$i++]) || feof($local_handle)) );
165 $temp = $lines[--$i];
166 $lines[$i++] = '$conf[\'plugin\'][\'sympaauth\'][\'sympaSoapService\'] = \'\';' . "\n";
167 $lines[$i] = $temp;
170 $lines[$i] = fgets($local_handle, 1000);
171 …if(preg_match('!\$conf\[\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$…
175 $lines[$i] = '<?'."\n";
176 $lines[++$i] = '$conf[\'plugin\'][\'sympaauth\'][\'sympaSoapService\'] = \'\';' . "\n";
181 $lines[$i] = '<?'."\n";
182 $lines[++$i] = '$conf[\'plugin\'][\'sympaauth\'][\'sympaSoapService\'] = \'\';' . "\n";
186 …// Delete local.php (a backup was created few lines before), then copy $lines to a new local.php. …
192 foreach ($lines as $line) {
225 …// Open local.php, copy its content to $lines, look for $conf['sympaSoapService'] line(s) and dele…
230 $lines[$i] = fgets($local_handle, 1000);
231 …\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$i])) unset($lines[$i--]);
235 …// Delete local.php after having backed it up, then copy $lines to a new local.php. Restore backup…
241 foreach ($lines as $line) {
272 …// And copy the $lang lines from each... assuming that noone would place a ; at the beginning of a…
274 $lines[$i] = fgets($sympa_file, 1000);
275 if(!preg_match('!\$lang\[\'\w{1,}\'\] *= *.*!', $lines[$i])) unset($lines[$i--]);
282 foreach ($lines as $line) {
309 $lines[$i] = fgets($sympa_file, 1000);
310 if(preg_match('!sympa!i', $lines[$i])) unset($lines[$i--]);
315 …// Delete lang.php after having backed it up, then copy $lines to a new lang.php. Restore backup i…
322 foreach ($lines as $line) {