install.php
changeset 278 53ba55d33abb
parent 271 f088805540ae
child 279 8acd77a6c19d
--- a/install.php	Sun Nov 18 20:37:08 2007 -0500
+++ b/install.php	Wed Nov 21 20:45:50 2007 -0500
@@ -1207,7 +1207,7 @@
           document.getElementById('s_db_host').src='images/bad.gif';
           ret = false;
         }
-        if(frm.db_name.value.match(/^([a-z0-9_]+)$/g))
+        if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
         {
           document.getElementById('s_db_name').src='images/unknown.gif';
         }