This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  13bd02cba7fdc787ac165eccd46dbd0f33dd1b07 (commit)
      from  3bb3cf6bb4696a353a4886baa7c31e2d83b2a0ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=13bd02cba7fdc787ac165eccd46dbd0f33dd1b07

commit 13bd02cba7fdc787ac165eccd46dbd0f33dd1b07
Author: Franck Villaume <[email protected]>
Date:   Sun Jan 17 19:16:24 2016 +0100

    docman: do not rely on gfcommon which can be empty. use source_path

diff --git a/src/www/docman/index.php b/src/www/docman/index.php
index 5f5ad65..a26515f 100644
--- a/src/www/docman/index.php
+++ b/src/www/docman/index.php
@@ -69,8 +69,8 @@ $childgroup_id = getIntFromRequest('childgroup_id');
 
 /* everything sounds ok, now let do the job */
 $action = getStringFromRequest('action');
-if (file_exists($gfcommon.'docman/actions/'.$action.'.php')) {
-       include ($gfcommon.'docman/actions/'.$action.'.php');
+if 
(file_exists(forge_get_config('source_path').'/common/docman/actions/'.$action.'.php'))
 {
+       
include(forge_get_config('source_path').'/common/docman/actions/'.$action.'.php');
 }
 
 $start = getIntFromRequest('start', 0);

-----------------------------------------------------------------------

Summary of changes:
 src/www/docman/index.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to