]> _ Git - cubeextranet.git/commitdiff
#2291
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 9 Oct 2018 15:15:35 +0000 (15:15 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 9 Oct 2018 15:15:35 +0000 (15:15 +0000)
inc/commons/class.common.ajax.php
inc/commons/class.common.tools.php

index c52cf16f605efa591ee58ce161ca8d887b9acbdc..409576783e3dac163159cd8684a1e207937fc01c 100644 (file)
@@ -362,7 +362,7 @@ class commonAjax
 
        public static function createGitRepos($args, &$x)
        {
-               commonDroits::min(1);
+               commonDroits::min(0.5);
                $repos = $_POST['repos'] . '.git';
                $dir = "/mnt/sshfs/batman/home/git/repositories/$repos";
                `git init --bare $dir`;
index aae3a20b640d2ecb2bde70a182c9540b2d0328d1..fcd43f81a44f9d7c3cd54faf7a8d303c51f2a693 100644 (file)
@@ -946,7 +946,7 @@ class commonTools
 
        public static function createGitRepos()
        {
-               commonDroits::min(1);
+               commonDroits::min(0.5);
                global $core;
 
                $res = commonPage::barre();