Hola, al ejecutar esta sentencia:
Código PHP:
setlocale ("LC_TIME", "$locale");
Me da este error:
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead.
¿Por qué es? ¿Cómo lo arreglo?
¡¡Muchísimas gracias!!