[Fusionforge-commits] r10380 - trunk/src/www/widgets

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 1 17:45:34 CEST 2010


Author: nerville
Date: 2010-09-01 17:45:34 +0200 (Wed, 01 Sep 2010)
New Revision: 10380

Modified:
   trunk/src/www/widgets/widgets.php
Log:
fix require

Modified: trunk/src/www/widgets/widgets.php
===================================================================
--- trunk/src/www/widgets/widgets.php	2010-09-01 14:24:01 UTC (rev 10379)
+++ trunk/src/www/widgets/widgets.php	2010-09-01 15:45:34 UTC (rev 10380)
@@ -1,11 +1,29 @@
 <?php
-require_once('env.inc.php');
-require_once('pre.php');
-require_once('preplugins.php');
-require_once('plugins_utils.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 License, 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+require_once('../env.inc.php');
+require_once $gfcommon.'include/pre.php';
+require_once $gfcommon.'include/preplugins.php';
+require_once $gfcommon.'include/plugins_utils.php';
 //require_once('www/my/my_utils.php');
-require_once('common/widget/WidgetLayoutManager.class.php');
-require_once('common/widget/Valid_Widget.class.php');
+require_once $gfcommon.'widget/WidgetLayoutManager.class.php';
+require_once $gfcommon.'widget/Valid_Widget.class.php';
 
 $hp = Codendi_HTMLPurifier::instance();
 if (isLogged()) {




More information about the Fusionforge-commits mailing list