[Fusionforge-commits] r16019 - in branches/Branch_5_2/src: debian plugins/scmgit/common

Olivier Berger olberger at fusionforge.org
Thu Jul 19 17:24:50 CEST 2012


Author: olberger
Date: 2012-07-19 17:24:49 +0200 (Thu, 19 Jul 2012)
New Revision: 16019

Modified:
   branches/Branch_5_2/src/debian/changelog
   branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php
Log:
Fix missing file errors for gitweb in scmgit plugin

Modified: branches/Branch_5_2/src/debian/changelog
===================================================================
--- branches/Branch_5_2/src/debian/changelog	2012-07-19 15:09:16 UTC (rev 16018)
+++ branches/Branch_5_2/src/debian/changelog	2012-07-19 15:24:49 UTC (rev 16019)
@@ -2,9 +2,11 @@
 
   * Populate new user's shell accounts out of
     /var/lib/gforge/chroot/etc/skel (closes: #675054).
+  * Fix several missing files errors in gitweb for scmgit plugin (closes:
+    #674536).
   * 
 
- -- Olivier Berger <obergix at debian.org>  Wed, 18 Jul 2012 21:55:42 +0200
+ -- Olivier Berger <obergix at debian.org>  Thu, 19 Jul 2012 17:23:32 +0200
 
 fusionforge (5.2~rc1-5) unstable; urgency=low
 

Modified: branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php
===================================================================
--- branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php	2012-07-19 15:09:16 UTC (rev 16018)
+++ branches/Branch_5_2/src/plugins/scmgit/common/GitPlugin.class.php	2012-07-19 15:24:49 UTC (rev 16019)
@@ -383,9 +383,10 @@
 		fwrite($config_f, "\$projectroot = '$rootdir';\n");
 		fwrite($config_f, "\$projects_list = '$config_dir/gitweb.list';\n");
 		fwrite($config_f, "@git_base_url_list = ('". util_make_url('/anonscm/git') . "');\n");
-		fwrite($config_f, "\$logo = '". util_make_url('/plugins/scmgit/git-logo.png') . "';\n");
-		fwrite($config_f, "\$favicon = '". util_make_url('/plugins/scmgit/git-favicon.png')."';\n");
-		fwrite($config_f, "\$stylesheet = '". util_make_url('/plugins/scmgit/gitweb.css')."';\n");
+		fwrite($config_f, "\$logo = '". util_make_url('/plugins/scmgit/static/git-logo.png') . "';\n");
+		fwrite($config_f, "\$favicon = '". util_make_url('/plugins/scmgit/static/git-favicon.png')."';\n");
+		fwrite($config_f, "\$stylesheet = '". util_make_url('/plugins/scmgit/static/gitweb.css')."';\n");
+		fwrite($config_f, "\$javascript = '". util_make_url('/plugins/scmgit/static/gitweb.js')."';\n");
 		fwrite($config_f, "\$prevent_xss = 'true';\n");
 		fclose($config_f);
 		chmod ($fname.'.new', 0644) ;




More information about the Fusionforge-commits mailing list