Showing 3 changed files with 9 additions and 9 deletions
+6 -6
README.md
... ...
@@ -426,14 +426,14 @@ OK. GitPrep suport time zone. You can set time_zone option in conig file.
426 426
 
427 427
 ### How to hide user home directory in ssh repository URL?
428 428
 
429
-**1. Use symbolic link and ssh_repo_url_base option
429
+**1. Use symbolic link and ssh_rep_url_base option
430 430
 
431
-At first, set [basic]ssh_repo_url_base option to /git
431
+At first, set [basic]ssh_rep_url_base option to /git
432 432
 
433 433
     ;;; SSH repository url base
434 434
     ; For exampke, If you set this value to /git, SSH repository url become
435 435
     ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git
436
-    ssh_repo_url_base=/git
436
+    ssh_rep_url_base=/git
437 437
 
438 438
 And you create symbolic link to /home/gitprep/gitprep/data/rep
439 439
     
... ...
@@ -441,19 +441,19 @@ And you create symbolic link to /home/gitprep/gitprep/data/rep
441 441
     ln -s /home/gitprep/gitprep/data/rep /git
442 442
     chown gitprep:gitprep /git
443 443
 
444
-**2. Use only public key authentication and set [basic]ssh_repo_url_base to empty
444
+**2. Use only public key authentication and set [basic]ssh_rep_url_base to empty
445 445
 
446 446
 If you use only public key authentication, you can access ssh repository
447 447
 using the following url.
448 448
 
449 449
     ssh://kimoto@59.106.185.196/kimoto/gitprep.git
450 450
 
451
-If you set [basic]ssh_repo_url_base to empty string, this URL is shown on Browser.
451
+If you set [basic]ssh_rep_url_base to empty string, this URL is shown on Browser.
452 452
 
453 453
     ;;; SSH repository url base
454 454
     ; For exampke, If you set this value to /git, SSH repository url become
455 455
     ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git
456
-    ssh_repo_url_base=
456
+    ssh_rep_url_base=
457 457
 
458 458
 ## Web Site
459 459
 
+1 -1
gitprep.conf
... ...
@@ -8,7 +8,7 @@
8 8
 ;;; SSH repository url base
9 9
 ; For exampke, If you set this value to /git, SSH repository url become
10 10
 ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git
11
-;ssh_repo_url_base=/git
11
+;ssh_rep_url_base=/git
12 12
 
13 13
 ;;; Git command path
14 14
 ;;; By default, git command path is automatically detected
+2 -2
templates/project.html.ep
... ...
@@ -51,8 +51,8 @@
51 51
   my $ssh_port = config->{basic}{ssh_port};
52 52
   my $rep_home = app->git->rep_home;
53 53
   my $execute_user = getpwuid($>);
54
-  my $ssh_rep_url_base = defined app->config->{basic}{'ssh_repo_url_base'}
55
-    ? app->config->{basic}{'ssh_repo_url_base'} : $rep_home;
54
+  my $ssh_rep_url_base = defined app->config->{basic}{'ssh_rep_url_base'}
55
+    ? app->config->{basic}{'ssh_rep_url_base'} : $rep_home;
56 56
   my $ssh_rep_url = "ssh://$execute_user\@" . $url->host
57 57
     . ($ssh_port ? ":$ssh_port" : '') . "$ssh_rep_url_base/$user/$project.git";
58 58
 %>