Use jsfs.
authorJan Schneider <jan@horde.org>
Wed, 15 Apr 2009 14:39:33 +0000 (16:39 +0200)
committerJan Schneider <jan@horde.org>
Wed, 15 Apr 2009 21:30:17 +0000 (23:30 +0200)
kronolith/index.php

index aab60d2..682c7fe 100644 (file)
@@ -49,7 +49,7 @@ foreach (Kronolith::listCalendars() as $id => $cal) {
 }
 
 $datejs = str_replace('_', '-', $language) . '.js';
-if (!file_exists($registry->get('fileroot') . '/js/' . $datejs)) {
+if (!file_exists($registry->get('jsfs') . '/' . $datejs)) {
     $datejs = 'en-US.js';
 }
 $scripts = array(