install.php 476 B

1234567891011121314151617
  1. <?php
  2. /* For license terms, see /license.txt */
  3. /**
  4. * This script is included by main/admin/settings.lib.php and generally
  5. * includes things to execute in the main database (settings_current table)
  6. * @package chamilo.plugin.advanced_subscription
  7. */
  8. /**
  9. * Initialization
  10. */
  11. require_once dirname(__FILE__) . '/config.php';
  12. if (!api_is_platform_admin()) {
  13. die ('You must have admin permissions to install plugins');
  14. }
  15. AdvancedSubscriptionPlugin::create()->install();