small fix

This commit is contained in:
Ralf Becker 2008-10-02 15:27:39 +00:00
parent 4328a0c906
commit 8d7c57e253

View File

@ -231,7 +231,7 @@ class setup_cmd_database extends setup_cmd
//echo "<p>setting $name='{$this->$name}' to it's default='$default'</p>\n";
$this->set_defaults[$name] = $this->$name = $default;
}
if (strpos($this->$name,'$domain'))
if (strpos($this->$name,'$domain') !== false)
{
$this->$name = str_replace(array('$domain','.','-'),array($this->domain,'_','_'),$this->$name);
}