install.php
changeset 262 596945fa6e56
parent 258 808281bfd200
child 266 917dcc6c4ceb
child 267 43add2be1371
equal deleted inserted replaced
261:c7c2fde4f98d 262:596945fa6e56
  1123         else
  1123         else
  1124         {
  1124         {
  1125           document.getElementById('s_db_host').src='images/bad.gif';
  1125           document.getElementById('s_db_host').src='images/bad.gif';
  1126           ret = false;
  1126           ret = false;
  1127         }
  1127         }
  1128         if(frm.db_name.value.match(/^([a-z0-9_]+)$/g))
  1128         if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
  1129         {
  1129         {
  1130           document.getElementById('s_db_name').src='images/unknown.gif';
  1130           document.getElementById('s_db_name').src='images/unknown.gif';
  1131         }
  1131         }
  1132         else
  1132         else
  1133         {
  1133         {