]> git.mxchange.org Git - core.git/blobdiff - application/tests/data.php
Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / application / tests / data.php
index e1fd3230d90bfd093b9857452ea9ae6c720dfe6c..9e8bfdda11443558d96d8243f7ba0068c2e336da 100644 (file)
@@ -7,7 +7,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+// Get config instance
+$cfg = FrameworkConfiguration::getSelfInstance();
+
 // Get an instance of the helper
 $app = call_user_func_array(
-       array('CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'),
+       array($cfg->getConfigEntry('app_helper_class'), 'getSelfInstance'),
        array()
 );