Browse Source

Another test

pull/24/head
Teknikode 8 years ago
parent
commit
69482bded6
  1. 3
      includes/update_profile.php

3
includes/update_profile.php

@ -134,7 +134,8 @@ if(isset($_POST)) @@ -134,7 +134,8 @@ if(isset($_POST))
$Git = new Git();
$Git->windows_mode();
$repo = $Git->open($CONF['git_repo_path'][0].'gitolite-admin\\');
$repo->setenv("HOME", "/home/Administrator");
$repo->setenv("HOME", "/home/iusr");
echo $repo->run('echo "$USER"');
$repo->pull('origin', 'master');
if (is_dir($CONF['git_repo_path'][0].'gitolite-admin\\keydir\\u\\'.$user->username))

Loading…
Cancel
Save