[Fusionforge-commits] FusionForge branch Branch_5_1 updated. d9cda2c890d2090d32f4612bf7b8e681cdf68724

Franck VILLAUME nerville at fusionforge.org
Sun Dec 30 16:02:21 CET 2012


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, Branch_5_1 has been updated
       via  d9cda2c890d2090d32f4612bf7b8e681cdf68724 (commit)
      from  7d705c7dd4815a9759b33ea232467a0e97c762c8 (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 -----------------------------------------------------------------
commit d9cda2c890d2090d32f4612bf7b8e681cdf68724
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Dec 30 15:52:01 2012 +0100

    fix path

diff --git a/src/utils/list-admins.php b/src/utils/list-admins.php
index 5e08f6c..7742122 100755
--- a/src/utils/list-admins.php
+++ b/src/utils/list-admins.php
@@ -1,6 +1,23 @@
 #!/usr/bin/php -f
 <?php
-require "/usr/share/gforge/common/include/env.inc.php";
+/**
+ * This file is part of FusionForge. FusionForge is free software;
+ * you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the Licence, or (at your option)
+ * any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with FusionForge; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+require (dirname (__FILE__).'/../common/include/env.inc.php');
 require_once $gfcommon."include/pre.php";
 $admins = RBACEngine::getInstance()->getUsersByAllowedAction("forge_admin", -1);
 $anames = array_map(create_function("\$x", "return \$x->getUnixName();"), $admins);

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

Summary of changes:
 src/utils/list-admins.php |   19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list