Index: trunk/admin/include/elements.php
===================================================================
diff -u -r4329 -r4427
--- trunk/admin/include/elements.php (.../elements.php) (revision 4329)
+++ trunk/admin/include/elements.php (.../elements.php) (revision 4427)
@@ -96,11 +96,13 @@
print "\n\t
\n\t\tIn-portal\n";
- $application =& kApplication::Instance();
- $template_cache =& $application->recallObject('TemplatesCache'); // sets THEMES_PATH constant
- $m_tag_processor =& $application->recallObject('m_TagProcessor');
- echo $m_tag_processor->Base_Ref()."\n";
-
+ if (constOn('REQUIRED_BASE_HREF')) {
+ $application =& kApplication::Instance();
+ $template_cache =& $application->recallObject('TemplatesCache'); // sets THEMES_PATH constant
+ $m_tag_processor =& $application->recallObject('m_TagProcessor');
+ echo $m_tag_processor->Base_Ref()."\n";
+ }
+
if(strlen($metatag))
{
print $metatag."\n";