$value) { if (substr($name,0,5)=='spip_' && substr($name,0,$prefix_long)!=$cookie_prefix) { unset($_COOKIE[$name]); unset($GLOBALS[$name]); } } foreach ($_COOKIE as $name => $value) { if (substr($name,0,$prefix_long)==$cookie_prefix) { $spipname = preg_replace ('/^'.$cookie_prefix.'_/', 'spip_', $name); $_COOKIE[$spipname] = $value; $GLOBALS[$spipname] = $value; } } } // Idem faudrait creer exec/test_ajax, mais c'est si court. // Tester si Ajax fonctionne pour ce brouteur // (si on arrive la c'est que c'est bon, donc poser le cookie) // http://doc.spip.org/@exec_test_ajax_dist function exec_test_ajax_dist() { switch (_request('js')) { // on est appele par