Explorar o código

Use no_layout template

jmontoyaa %!s(int64=8) %!d(string=hai) anos
pai
achega
5b193b99b7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      main/inc/ajax/admin.ajax.php

+ 2 - 0
main/inc/ajax/admin.ajax.php

@@ -10,6 +10,8 @@ api_protect_admin_script();
 
 $action = isset($_REQUEST['a']) ? $_REQUEST['a'] : null;
 
+\Chamilo\CoreBundle\Framework\Container::$legacyTemplate = '@ChamiloTheme/Layout/no_layout.html.twig';
+
 switch ($action) {
     case 'update_changeable_setting':
         $url_id = api_get_current_access_url_id();