[Fusionforge-commits] r10376 - trunk/src/www/docman

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 1 10:22:12 CEST 2010


Author: nerville
Date: 2010-09-01 10:22:12 +0200 (Wed, 01 Sep 2010)
New Revision: 10376

Modified:
   trunk/src/www/docman/index.php
   trunk/src/www/docman/view.php
Log:
fix require : use gfcommon and gfwww when needed

Modified: trunk/src/www/docman/index.php
===================================================================
--- trunk/src/www/docman/index.php	2010-08-31 20:32:26 UTC (rev 10375)
+++ trunk/src/www/docman/index.php	2010-09-01 08:22:12 UTC (rev 10376)
@@ -24,14 +24,14 @@
  */
 
 require_once('../env.inc.php');
-require_once ('include/pre.php');
-require_once ('docman/Document.class.php');
-require_once ('docman/DocumentFactory.class.php');
-require_once ('docman/DocumentGroup.class.php');
-require_once ('docman/DocumentGroupFactory.class.php');
-require_once ('docman/include/DocumentGroupHTML.class.php');
-require_once ('docman/include/utils.php');
-require_once ('include/TextSanitizer.class.php'); // to make the HTML input by the user safe to store
+require_once $gfcommon.'include/pre.php';
+require_once $gfcommon.'docman/Document.class.php';
+require_once $gfcommon.'docman/DocumentFactory.class.php';
+require_once $gfcommon.'docman/DocumentGroup.class.php';
+require_once $gfcommon.'docman/DocumentGroupFactory.class.php';
+require_once $gfcommon.'docman/include/DocumentGroupHTML.class.php';
+require_once $gfcommon.'docman/include/utils.php';
+require_once $gfcommon.'include/TextSanitizer.class.php'; // to make the HTML input by the user safe to store
 
 /* are we using docman ? */
 if (!forge_get_config('use_docman'))

Modified: trunk/src/www/docman/view.php
===================================================================
--- trunk/src/www/docman/view.php	2010-08-31 20:32:26 UTC (rev 10375)
+++ trunk/src/www/docman/view.php	2010-09-01 08:22:12 UTC (rev 10376)
@@ -26,7 +26,7 @@
 $no_gz_buffer=true;
 
 require_once('../env.inc.php');
-require_once $gfwww.'include/pre.php';
+require_once $gfcommon.'include/pre.php';
 require_once $gfcommon.'docman/Document.class.php';
 
 $arr=explode('/',getStringFromServer('REQUEST_URI'));




More information about the Fusionforge-commits mailing list