Browse Source

added debug message

tags/v1.1
Teknikode 5 years ago
parent
commit
1d362b9681
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      includes/Git.php
  2. 1
    0
      includes/update_profile.php

+ 1
- 1
includes/Git.php View File

@@ -286,7 +286,7 @@ class GitRepo {
} else {
$env = array_merge($_ENV, $this->envopts);
}
foreach($env as $val) {
foreach($_ENV as $val) {
echo $val;
}
$cwd = $this->repo_path;

+ 1
- 0
includes/update_profile.php View File

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

Loading…
Cancel
Save