Permalink
Browse files

The most important part of this config, is the fact that for XSLT to …

…SVG we need proper floating point numbers. This is only realised by setting LC_NUMERIC to en_US.
  • Loading branch information...
1 parent ba767eb commit 1d81aaf077acb139728207c51ac79379fbb2920e @skinkie skinkie committed Jan 15, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config.php
View
@@ -1,7 +1,7 @@
<?php
define ('VERSION', '1.1.0');
define ('OWNER', 'MidvlietTV');
- define ('ABSOLUTEDIR', '/var/www/kabelkrantadmin/htdocs');
+ define ('ABSOLUTEDIR', '/usr/src/BroadcastAdmin/CMS/Kabelkrantadmin');
define ('TEMPLATEDIR', ABSOLUTEDIR.'/xsl');
define ('PREVIEWDIR', ABSOLUTEDIR.'/preview');
define ('USER_IMAGEDIR', ABSOLUTEDIR.'/fotos');
@@ -38,4 +38,6 @@
define ('EMERGENCY', false);
date_default_timezone_set('Europe/Amsterdam');
+ setlocale(LC_ALL,'nl_NL');
+ setlocale(LC_NUMERIC, 'en_US'); /* Make sure this is EN, because of . , in XSLT */
?>

0 comments on commit 1d81aaf

Please sign in to comment.