Opps, needs to append index' file extension.
authorRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 18:54:34 +0000 (20:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 18:54:34 +0000 (20:54 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/index/class_BaseIndex.php

index aa32af1e3c1abbd2ee86ef29db4ecd35a2414e83..72b2d4398ccbe0174a262530783cd6b2405680be 100644 (file)
@@ -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));