Added 'base_url'
authorRoland Haeder <roland@mxchange.org>
Sun, 5 Apr 2015 22:40:54 +0000 (00:40 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 5 Apr 2015 22:40:54 +0000 (00:40 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/commands/class_BaseCommand.php

index 03c715a..ee56b26 100644 (file)
@@ -53,6 +53,9 @@ class BaseCommand extends BaseFrameworkSystem {
                // Transfer application data
                $templateInstance->assignApplicationData($applicationInstance);
 
+               // Assign base URL
+               $templateInstance->assignConfigVariable('base_url');
+
                // Load the master template
                $masterTemplate = $applicationInstance->buildMasterTemplateName();