From b0223cd1fdffb19afa0d30b5f1f43b09572cad05 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 20 May 2014 20:54:34 +0200 Subject: [PATCH] Opps, needs to append index' file extension. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/index/class_BaseIndex.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/classes/main/index/class_BaseIndex.php b/inc/classes/main/index/class_BaseIndex.php index aa32af1e..72b2d439 100644 --- a/inc/classes/main/index/class_BaseIndex.php +++ b/inc/classes/main/index/class_BaseIndex.php @@ -171,6 +171,9 @@ class BaseIndex extends BaseFrameworkSystem { * @return void */ protected function initIndex ($fileName) { + // Append index file extension + $fileName .= $this->getConfigInstance()->getConfigEntry('index_extension'); + // Get a file i/o pointer instance for index file $pointerInstance = ObjectFactory::createObjectByConfiguredName('file_raw_input_output_class', array($fileName)); -- 2.39.5