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