Commit 4586d500 authored by hellkat's avatar hellkat

Implemented FS#2593 - PHP Warning: chmod(): No such file or directory in...

Implemented FS#2593 - PHP Warning: chmod(): No such file or directory in /root/ispconfig3_install/install/dist/lib/debian60.lib.php
parent 10b4c85a
......@@ -95,8 +95,8 @@ class installer extends installer_base {
$configfile = 'dovecot-sql.conf';
if(is_file($config_dir.'/'.$configfile)){
copy($config_dir.'/'.$configfile, $config_dir.'/'.$configfile.'~');
}
chmod($config_dir.'/'.$configfile.'~', 0400);
}
$content = rf('tpl/debian6_dovecot-sql.conf.master');
$content = str_replace('{mysql_server_ispconfig_user}',$conf['mysql']['ispconfig_user'],$content);
$content = str_replace('{mysql_server_ispconfig_password}',$conf['mysql']['ispconfig_password'], $content);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment