Opps, needs to append index' file extension.
[core.git] / 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));