[evolvis-commits] r15654: fix require; add common header => need real header

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 00:23:14 CET 2011


Author: mirabilos
Date: 2011-03-01 00:23:14 +0100 (Tue, 01 Mar 2011)
New Revision: 15654

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/widgets/updatelayout.php
   trunk/gforge_base/evolvisforge-5.1/src/www/widgets/widget.php
Log:
fix require; add common header => need real header

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/widgets/updatelayout.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/widgets/updatelayout.php	2011-02-28 23:23:09 UTC (rev 15653)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/widgets/updatelayout.php	2011-02-28 23:23:14 UTC (rev 15654)
@@ -1,10 +1,28 @@
 <?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 $gfcommon.'/widget/WidgetLayoutManager.class.php';
-require_once $gfcommon.'/widget/Widget.class.php';
+require_once $gfcommon.'widget/WidgetLayoutManager.class.php';
+require_once $gfcommon.'widget/Widget.class.php';
 
 $request =& HTTPRequest::instance();
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/widgets/widget.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/widgets/widget.php	2011-02-28 23:23:09 UTC (rev 15653)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/widgets/widget.php	2011-02-28 23:23:14 UTC (rev 15654)
@@ -1,12 +1,30 @@
 <?php
-require_once('env.inc.php');
-require_once('pre.php');
-require_once('preplugins.php');
-require_once('plugins_utils.php');
-require_once('common/widget/Widget.class.php');
-require_once('common/widget/WidgetLayoutManager.class.php');
-require_once('common/widget/Valid_Widget.class.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 $gfcommon.'widget/WidgetLayoutManager.class.php';
+require_once $gfcommon.'widget/Widget.class.php';
+require_once $gfcommon.'widget/Valid_Widget.class.php';
+
 $lm = new WidgetLayoutManager();
 
 $request =& HTTPRequest::instance();



More information about the evolvis-commits mailing list