Files
Chamilo/plugin/buycourses/src/error.php
2025-04-10 12:36:07 +02:00

15 lines
278 B
PHP

<?php
/* For license terms, see /license.txt */
/**
* Errors management for the Buy Courses plugin - Redirects to course_catalog.php.
*
* @package chamilo.plugin.buycourses
*/
/**
* Config.
*/
unset($_SESSION['bc_sale_id']);
header('Location: course_catalog.php');
exit;