Skip to content
Browse files

Use our own extended MgdSchema for persons, refs #1809

  • Loading branch information...
1 parent a4a40d1 commit 1b26b79f4c820079308b33357728997a1f7c600a @bergie bergie committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 controllers/midcom.php
View
3 controllers/midcom.php
@@ -60,7 +60,7 @@ private function prepare_midgard_superglobal()
$_MIDGARD['debug'] = false;
$_MIDGARD['host'] = null;
- $_MIDGARD['style'] = $midgardmvc->context->templatedir_id;
+ $_MIDGARD['style'] = 0;
$_MIDGARD['author'] = 0;
$_MIDGARD['config'] = array
(
@@ -126,6 +126,7 @@ private function prepare_midcom_config()
$GLOBALS['midcom_config_local']['log_level'] = $this->midgardmvc_loglevel_to_midcom(midgardmvc_core::get_instance()->configuration->log_level);
$GLOBALS['midcom_config_local']['midcom_root_topic_guid'] = $this->get_midcom_root_topic_guid();
$GLOBALS['midcom_config_local']['midcom_services_rcs_enable'] = false;
+ $GLOBALS['midcom_config_local']['person_class'] = 'midgardmvc_helper_ragnaland_person';
if (midgardmvc_core::get_instance()->firephp)
{

0 comments on commit 1b26b79

Please sign in to comment.
Something went wrong with that request. Please try again.