[evolvis-commits] r15530: Fixed the include path problem for pre.php
mirabilos at evolvis.org
mirabilos at evolvis.org
Tue Mar 1 00:13:06 CET 2011
Author: mirabilos
Date: 2011-03-01 00:13:06 +0100 (Tue, 01 Mar 2011)
New Revision: 15530
Added:
trunk/gforge_base/evolvisforge-5.1/src/common/include/pre-compat.php
Modified:
trunk/gforge_base/evolvisforge-5.1/src/www/include/pre.php
Log:
Fixed the include path problem for pre.php
Added: trunk/gforge_base/evolvisforge-5.1/src/common/include/pre-compat.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/pre-compat.php (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/pre-compat.php 2011-02-28 23:13:06 UTC (rev 15530)
@@ -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/gforge_base/evolvisforge-5.1/src/www/include/pre.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/pre.php 2011-02-28 23:13:02 UTC (rev 15529)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/pre.php 2011-02-28 23:13:06 UTC (rev 15530)
@@ -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 evolvis-commits
mailing list