Author: esj@rezo.net
Date: 2009-07-27 08:02:03 +0200 (lun, 27 jui 2009)
New Revision: 14280
Log:
Remplacement de [http://fr2.php.net/manual/fr/function.split.php split], dépréciée, par [http://fr2.php.net/manual/fr/function.preg-split.php preg_split] manuellement pour les cas avec RegExp, ou par [http://fr2.php.net/manual/fr/function.explode.php explode] pour les autres cas par:
{{{
for i in $(grep -l "[^a-z_]split(" */*php)
do
sed 's/\([^a-z_]\)split(/\1explode(/' $i > x
mv x $i;
done
}}}
Modified:
spip/ecrire/action/export_all.php
spip/ecrire/configuration/langue.php
spip/ecrire/exec/rechercher.php
spip/ecrire/exec/rechercher_auteur.php
spip/ecrire/inc/auteur_infos.php
spip/ecrire/inc/distant.php
spip/ecrire/inc/editer_mots.php
spip/ecrire/inc/filtres.php
spip/ecrire/inc/utils.php
spip/ecrire/public/criteres.php
spip/ecrire/public/jointures.php
spip/ecrire/req/pg.php