fix new layout catalog course

remotes/angel/1.11.x
Alex Aragon 8 years ago
parent 5d50bf934e
commit fe95628d65
  1. 6
      main/auth/courses_controller.php

@ -23,8 +23,8 @@ class CoursesController
public function __construct()
{
$this->toolname = 'auth';
$actived_theme_path = api_get_template();
$this->view = new View($this->toolname, $actived_theme_path);
//$actived_theme_path = api_get_template();
$this->view = new View($this->toolname);
$this->model = new Auth();
}
@ -150,7 +150,7 @@ class CoursesController
// render to the view
$this->view->set_data($data);
$this->view->set_layout('catalog_layout');
$this->view->set_layout('layout');
$this->view->set_template('courses_categories');
$this->view->render();
}

Loading…
Cancel
Save