tbrehm
2011-11-15 c749e5226f585c700dd2a9572fbc7e7a1b62166b
- Moved some code.
1 files modified
12 ■■■■ changed files
install/lib/installer_base.lib.php 12 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -1748,6 +1748,12 @@
            chgrp($install_dir.'/server/lib/mysql_clientdb.conf', 'root');
        }
        if(is_file($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
        }
        // TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing
        // and must be fixed as this will allow the apache user to read the ispconfig files.
        // Later this must run as own apache server or via suexec!
@@ -1942,12 +1948,6 @@
        chmod($install_dir.'/server/lib/mysql_clientdb.conf', 0600);
        chown($install_dir.'/server/lib/mysql_clientdb.conf', 'root');
        chgrp($install_dir.'/server/lib/mysql_clientdb.conf', 'root');
        if(is_file($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
        }
    }