Index: trunk/FACT++/www/shift/config.template.php
===================================================================
--- trunk/FACT++/www/shift/config.template.php	(revision 13689)
+++ trunk/FACT++/www/shift/config.template.php	(revision 18842)
@@ -6,4 +6,7 @@
 $dbname = "calendar";
 
+if (strpos($_SERVER['PHP_SELF'], 'ToO') !== false)
+    $dbname= "ToOcalendar";
+
 $ldaphost = "161.72.93.133:389";
 $baseDN   = "dc=fact,dc=iac,dc=es";
