[Fusionforge-commits] r10243 - in trunk/src: common/include www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Jul 16 09:26:00 CEST 2010


Author: lolando
Date: 2010-07-16 09:26:00 +0200 (Fri, 16 Jul 2010)
New Revision: 10243

Added:
   trunk/src/common/include/pre-compat.php
Modified:
   trunk/src/www/include/pre.php
Log:
Fixed the include path problem for pre.php

Added: trunk/src/common/include/pre-compat.php
===================================================================
--- trunk/src/common/include/pre-compat.php	                        (rev 0)
+++ trunk/src/common/include/pre-compat.php	2010-07-16 07:26:00 UTC (rev 10243)
@@ -0,0 +1,25 @@
+<?php
+/**
+ * pre-compat.php - Automatically prepend to every page.
+ *
+ * Copyright 2010, Roland Mas <lolando at debian.org>
+ *
+ * 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_once (dirname(__FILE__).'/pre.php');
+
+?>

Modified: trunk/src/www/include/pre.php
===================================================================
--- trunk/src/www/include/pre.php	2010-07-14 17:35:22 UTC (rev 10242)
+++ trunk/src/www/include/pre.php	2010-07-16 07:26:00 UTC (rev 10243)
@@ -20,6 +20,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-require_once $gfcommon.'include/pre.php';
+require_once $gfcommon.'include/pre-compat.php';
 
 ?>




More information about the Fusionforge-commits mailing list