Commit 1591c924 authored by Erase's avatar Erase
Browse files

Changes the character used for explode list of feeds (space by carriage return)

parent 2684895f
......@@ -43,7 +43,7 @@
if(array_key_exists('flux', $_POST) && !empty($_POST['flux'])){
$_links = array_unique(
array_map('trim',
explode(' ', $_POST['flux'])
preg_split( '/\r\n|\r|\n/', $_POST['flux'])
)
);
......
......@@ -64,7 +64,7 @@
<label for="flux">URL des flux RSS à fusionner(*)</label>
<textarea id="flux" name="flux"></textarea>
<span class="note">
(*) Séparer chaque lien par un espace. Exemple : http://flux1.rss.com http://flux2.rss.com
(*) Un lien par ligne
</span>
</fieldset>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment