[Fusionforge-commits] r11736 - trunk/src/plugins/hudson/www

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Dec 9 13:14:19 CET 2010


Author: nerville
Date: 2010-12-09 13:14:18 +0100 (Thu, 09 Dec 2010)
New Revision: 11736

Modified:
   trunk/src/plugins/hudson/www/index.php
Log:
make it at least work ...

Modified: trunk/src/plugins/hudson/www/index.php
===================================================================
--- trunk/src/plugins/hudson/www/index.php	2010-12-09 12:11:10 UTC (rev 11735)
+++ trunk/src/plugins/hudson/www/index.php	2010-12-09 12:14:18 UTC (rev 11736)
@@ -17,7 +17,7 @@
  * You should have received a copy of the GNU General Public License
  * along with Codendi. If not, see <http://www.gnu.org/licenses/>.
  */
-require_once('env.inc.php');
+require_once('../../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once('preplugins.php');
 require_once('plugins_utils.php');
@@ -28,7 +28,7 @@
 if ($p && $plugin_manager->isPluginAvailable($p)) {
     $p->process();
 } else {
-    header('Location: '.get_server_url());
+    session_redirect(get_server_url());
 }
 
 ?>




More information about the Fusionforge-commits mailing list