Browse Source

Modified dir path

pull/24/head
Teknikode 8 years ago
parent
commit
5c88ec8095
  1. 4
      includes/update_profile.php

4
includes/update_profile.php

@ -138,8 +138,8 @@ if(isset($_POST)) @@ -138,8 +138,8 @@ if(isset($_POST))
$repo->fetch();
$repo->run('reset --hard origin/master');
$dir = $CONF['git_repo_path'][0].'gitolite-admin\\keydir\\u\\'.$user->username.'\\';
if (is_dir($dir))
$dir = $CONF['git_repo_path'][0].'gitolite-admin\\keydir\\u\\'.$user->username;
if (is_dir($dir."\\*"))
{
foreach (glob($dir."*") as $filename)
{

Loading…
Cancel
Save