Domanda

Perhaps I missed something but when I call

$result='';
      $langs = array(
          'en-US',
          'fr',
       );
var_dump(http_negotiate_language($langs,$result));

I have an 500 error message. Should I add some extensions, should I parametrize something on my php.ini ?

È stato utile?

Soluzione

It is require PECL pecl_http >= 0.1.0

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top