Browse Source

Added envrionment var set

pull/24/head
Teknikode 8 years ago
parent
commit
22f181755b
  1. 1
      includes/update_profile.php

1
includes/update_profile.php

@ -163,6 +163,7 @@ if(isset($_POST)) @@ -163,6 +163,7 @@ if(isset($_POST))
$index++;
}
}
putenv("HOME=/home/git");
$result = shell_exec('bash --login -c "/home/git/gitolite/src/gitolite trigger SSH_AUTHKEYS"');
print($result);
}

Loading…
Cancel
Save