ftimme
2011-09-28 6e2d48d0c9c43533582802b35a70d629d4e4abae

2 files modified
12 ■■■■ changed files
install/dist/lib/gentoo.lib.php 6 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php 6 ●●●● patch | view | raw | blame | history
install/dist/lib/gentoo.lib.php
@@ -627,7 +627,11 @@
            $command = 'adduser '.$conf['nginx']['user'].' '.$apps_vhost_group;
            caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
            if(!@is_dir($install_dir)) mkdir($install_dir, 0755, true);
            if(!@is_dir($install_dir)){
                mkdir($install_dir, 0755, true);
            } else {
                chmod($install_dir, 0755);
            }
            chown($install_dir, $apps_vhost_user);
            chgrp($install_dir, $apps_vhost_group);
install/lib/installer_base.lib.php
@@ -1459,7 +1459,11 @@
            $command = 'adduser '.$conf['nginx']['user'].' '.$apps_vhost_group;
            caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
            if(!@is_dir($install_dir)) mkdir($install_dir, 0755, true);
            if(!@is_dir($install_dir)){
                mkdir($install_dir, 0755, true);
            } else {
                chmod($install_dir, 0755);
            }
            chown($install_dir, $apps_vhost_user);
            chgrp($install_dir, $apps_vhost_group);