Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/public/plugin/sepe/admin.php

15 lines
362 B

<?php
require_once __DIR__.'/config.php';
$plugin = SepePlugin::create();
$enable = 'true' == $plugin->get('sepe_enable');
$pluginPath = api_get_path(WEB_PLUGIN_PATH).'sepe/src/sepe-administration-menu.php';
if ($enable && api_is_platform_admin()) {
header('Location:'.$pluginPath);
exit;
} else {
header('Location: ../../index.php');
exit;
}