| | |
| | | $command = "chmod +x $install_dir/server/scripts/*.sh"; |
| | | caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command"); |
| | | |
| | | if ($this->install_ispconfig_interface == true && isset($conf['interface_password']) && $conf['interface_password']!='admin') { |
| | | $sql = "UPDATE sys_user SET passwort = md5(?) WHERE username = 'admin';"; |
| | | $this->db->query($sql, $conf['interface_password']); |
| | | } |
| | | |
| | | if($conf['apache']['installed'] == true && $this->install_ispconfig_interface == true){ |
| | | //* Copy the ISPConfig vhost for the controlpanel |
| | | $vhost_conf_dir = $conf['apache']['vhost_conf_dir']; |