From: Roland Haeder Date: Tue, 20 May 2014 18:54:34 +0000 (+0200) Subject: Opps, needs to append index' file extension. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0223cd1fdffb19afa0d30b5f1f43b09572cad05;p=core.git Opps, needs to append index' file extension. Signed-off-by: Roland Häder --- 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));