website logo
Auteur
avatar
mimetic

Forum » » Version future » » Articles, Twitter et langues


Posté : 22-11-2012 08:16 icone du post

Ok, je viens de regarder ! Pour la correction, c'est dans le fichier npds_twi_set.php (C'est ici que le fichier s.php se génère) Je remplace donc : (lignes 214,215)

214:
$content .= "preg_match ('#/s\.php/(\d+)\$#', \$_SERVER['PHP_SELF'],\$res);\n";

215:
$content .= "header('Location: t;;" target="_blank" class="" class="noir">http://'.\$_SERVER['HTTP_HOST'].\$fol.'article.php?sid='.\$res[1]) ;\n";

par

214:
$content .= "$val_id = str_replace('/','',$fol);\n";

215:
$content .= "header('Location: http://'.$_SERVER['HTTP_HOST'].'/article.php?sid='.$val_id);\n&quo t;;

OK ?

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=25680&forum=4