UPDATED: trying to come back to a stable version
diff --git a/index.php b/index.php
index 19fb674..fc560a7 100755
--- a/index.php
+++ b/index.php
@@ -13,8 +13,7 @@
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
- //require_once($_SERVER['DOCUMENT_ROOT'] . "./functions/templating.php");
- $App = new App();
+ $App = new App();
$Nav = new Nav();
$Menu = new Menu();
@@ -22,7 +21,7 @@
$localVersion = false;
// # Paste your HTML content between the EOHTML markers!
- $html = get_file_contents('pages/template.html');
+ $html = file_get_contents('pages/template.html');
# Generate the web page
$App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
diff --git a/pages/template.html b/pages/template.html
index f801232..3a7714a 100644
--- a/pages/template.html
+++ b/pages/template.html
@@ -15,9 +15,9 @@
<div id="midcolumn">
<?php
if ($_GET['section'] == "support") {
- $html = get_file_contents('./support.html');
+ $html = file_get_contents('./support.html');
} else {
- $html = get_file_contents('./_index.html');
+ $html = file_get_contents('./_index.html');
}
echo $html;
?>