123456789101112131415 |
- <?php
- /* For license terms, see /license.txt */
- /**
- * This script is included by main/admin/settings.lib.php and generally
- * includes things to execute in the main database (settings_current table)
- * @package chamilo.plugin.buycourses
- */
- /**
- * Initialization
- */
- require_once dirname(__FILE__) . '/config.php';
- if (!api_is_platform_admin()) {
- die ('You must have admin permissions to install plugins');
- }
- BuyCoursesPlugin::create()->install();
|