*/
require_once('../env.inc.php');
-require_once('pre.php');
-require_once('note.php');
-require_once('www/news/news_utils.php');
-require_once('common/forum/Forum.class.php');
-require_once('common/include/TextSanitizer.class.php'); // to make the HTML input by the user safe to store
+require_once $gfwww.'include/pre.php';
+require_once $gfwww.'include/note.php';
+require_once $gfwww.'news/news_utils.php';
+require_once $gfcommon.'forum/Forum.class.php';
+require_once $gfcommon.'include/TextSanitizer.class.php'; // to make the HTML input by the user safe to store
$group_id = getIntFromRequest('group_id');