From: Roland Haeder Date: Tue, 20 May 2014 19:50:27 +0000 (+0200) Subject: Also include stack name in type. This will allow more index files than one ... X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=60832cb0dcc8727839d9a5195609e24b9cb1a33f;hp=0bd65bbdde87890661e5d3e360c6f1254fd2d303 Also include stack name in type. This will allow more index files than one ... Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/factories/stacks/class_FileStackFactory.php b/inc/classes/main/factories/stacks/class_FileStackFactory.php index 8f0494e5..810b8088 100644 --- a/inc/classes/main/factories/stacks/class_FileStackFactory.php +++ b/inc/classes/main/factories/stacks/class_FileStackFactory.php @@ -54,7 +54,7 @@ class FileStackFactory extends ObjectFactory { $stackInstance = Registry::getRegistry()->getInstance($stackName . '_stack'); } else { // Get the handler instance - $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName, $prefix)); + $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName, $prefix . '_' . $stackName)); // Add it to the registry Registry::getRegistry()->addInstance($stackName . '_stack', $stackInstance);