update.php 294 B

1234567891011121314
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Config the plugin
  5. * @package chamilo.plugin.sepe
  6. */
  7. require_once __DIR__ . '/config.php';
  8. if (!api_is_platform_admin()) {
  9. die ('You must have admin permissions to install plugins');
  10. }
  11. SepePlugin::create()->update();