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 aa32af1..72b2d43 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));