2009/08/13

osCommerce and setlocale

Filed under: osCommerce Coding — Tags: , — eCartz @ 20:24  Share/Bookmark  Delicious  StumbleUpon  WordPress  Twitter  LinkedIn

If you look in the osCommerce language files, there is often a line like @setlocale(LC_TIME, ‘en_US.ISO_8859-1′); What this does, when it works, is it sets the PHP time handling functions to use the specified locale’s format.  For many installs, this is unnecessary, as the server default will be correct.  Not infrequently, the locale will be [...]

Powered by WordPress