Added initIndex().
[core.git] / inc / classes / main / index / file_stack / class_FileStackIndex.php
index faa79b060c52cc39e67710b19e43f99cd1063ea7..aeb1464474f27004f4afab45a767555e5154f786 100644 (file)
@@ -42,6 +42,9 @@ class FileStackIndex extends BaseIndex implements IndexableStack {
                // Get a new instance
                $indexInstance = new FileStackIndex();
 
                // Get a new instance
                $indexInstance = new FileStackIndex();
 
+               // Initialize index
+               $indexInstance->initIndex($fileName);
+
                // Return the prepared instance
                return $indexInstance;
        }
                // Return the prepared instance
                return $indexInstance;
        }