Browse Source

Fixed wrong HOME

pull/24/head
Teknikode 8 years ago
parent
commit
e7805039af
  1. 2
      includes/update_profile.php

2
includes/update_profile.php

@ -134,7 +134,7 @@ if(isset($_POST)) @@ -134,7 +134,7 @@ if(isset($_POST))
$Git = new Git();
$Git->windows_mode();
$repo = $Git->open($CONF['git_repo_path'][0].'gitolite-admin\\');
$repo->setenv('HOME', '/home/iusr');
$repo->setenv('HOME', '/home/www_user');
$repo->fetch();
$repo->run('reset --hard origin/master');

Loading…
Cancel
Save