Browse Source

Fixed clone url

tags/v1.1^2
Teknikode 6 years ago
parent
commit
03c1715e78
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      git/index.php

+ 2
- 2
git/index.php View File

@@ -35,7 +35,7 @@ if (!is_writable(__DIR__ . DIRECTORY_SEPARATOR . 'cache')) {
require 'vendor/autoload.php';

$config = GitList\Config::fromFile('config.ini');
$config->set('app', 'clone_url', 'ssh://git@teknik.io:');
$config->set('app', 'clone_url', 'git://teknik.io/');
if ($_GET['user'])
{
if ($userTools->checkUsernameExists($_GET['user']))
@@ -46,7 +46,7 @@ if ($_GET['user'])
$config->set('git', 'repositories', array('G:\\Repositories\\u\\'.$_GET['user']));
$config->set('git', 'hidden', array(''));
$config->set('app', 'path_prefix', '/u/'.$_GET['user']);
$config->set('app', 'clone_url', 'ssh://git@teknik.io:u/'.$_GET['user'].'/');
$config->set('app', 'clone_url', 'git://teknik.io/u/'.$_GET['user'].'/');
$app = require 'boot.php';
$app->run();
}

Loading…
Cancel
Save