]> git.mxchange.org Git - core.git/commitdiff
Some fixes for tests application (will become more maybe).
authorRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 17:15:36 +0000 (19:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 17:15:36 +0000 (19:15 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
application/tests/class_ApplicationHelper.php
application/tests/init.php

index 7e0de1fc74a24c1f6ce5ec58e5dfaeb51353cc13..9587ab482e0b03e7169b1233240dac2db0801c41 100644 (file)
@@ -228,6 +228,17 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
        public function buildMasterTemplateName () {
                return 'node_main';
        }
+
+       /**
+        * Assigns extra application-depending data
+        *
+        * @param       $templateInstance       An instance of a CompileableTemplate
+        * @return      void
+        * @todo        Nothing to add?
+        */
+       public function assignExtraTemplateData (CompileableTemplate $templateInstance) {
+               $this->partialStub('Unfinished method. templateInstance=' . $templateInstance->__toString());
+       }
 }
 
 // [EOF]
index 7bb8a3a6744b8059fa8a5a14dfcf593a491b0760..db033e48be8beb8650787e673dfcd10ad46df3b6 100644 (file)
@@ -27,9 +27,5 @@
 // Get config instance
 $cfg = FrameworkConfiguration::getSelfInstance();
 
-// This application needs a database connection then we have to simply include
-// the inc/database.php script
-require($cfg->getConfigEntry('base_path') . 'inc/database.php');
-
 // [EOF]
 ?>