X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Findex%2Ffile_stack%2Fclass_FileStackIndex.php;h=416298cd9d0767ca5bd88814746aa7b9f8a55048;hb=f39c64749dc1c0e8cc935e04edd66ecc62f1dde3;hp=faa79b060c52cc39e67710b19e43f99cd1063ea7;hpb=33a077568f330392f1a57f953cc8d94d89b6f949;p=core.git diff --git a/inc/classes/main/index/file_stack/class_FileStackIndex.php b/inc/classes/main/index/file_stack/class_FileStackIndex.php index faa79b06..416298cd 100644 --- a/inc/classes/main/index/file_stack/class_FileStackIndex.php +++ b/inc/classes/main/index/file_stack/class_FileStackIndex.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class FileStackIndex extends BaseIndex implements IndexableStack { +class FileStackIndex extends BaseIndex implements IndexableStack, Registerable { /** * Protected constructor * @@ -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; }