From fe95628d65b6ccc031c9b36318652b6e359b2b1b Mon Sep 17 00:00:00 2001 From: Alex Aragon Date: Thu, 23 Mar 2017 15:09:50 -0500 Subject: [PATCH] fix new layout catalog course --- main/auth/courses_controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/auth/courses_controller.php b/main/auth/courses_controller.php index 5a09f49d8f..23594ffaa1 100755 --- a/main/auth/courses_controller.php +++ b/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(); }