From 175aefb9d60b770bd518105f2e5de700ab8853bf Mon Sep 17 00:00:00 2001 From: Levi Morrison Date: Wed, 11 Jul 2012 11:48:24 -0600 Subject: [PATCH] Fixed BC issue with PHP 5.2 and __DIR__. --- index-beta.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index-beta.php b/index-beta.php index 1a8218c4a..64ad438fc 100644 --- a/index-beta.php +++ b/index-beta.php @@ -43,11 +43,11 @@ else { } $_SERVER['BASE_PAGE'] = 'index.php'; -include_once __DIR__ . '/include/prepend.inc'; -include_once __DIR__ . '/include/pregen-events.inc'; -include_once __DIR__ . '/include/pregen-confs.inc'; -include_once __DIR__ . '/include/pregen-news.inc'; -include_once __DIR__ . '/include/version.inc'; +include_once '/include/prepend.inc'; +include_once '/include/pregen-events.inc'; +include_once '/include/pregen-confs.inc'; +include_once '/include/pregen-news.inc'; +include_once '/include/version.inc'; // Prepare announcements. if (is_array($CONF_TEASER) && $CONF_TEASER) {