install.php 224 B

123456789
  1. <?php
  2. /* For license terms, see /license.txt */
  3. require_once __DIR__.'/config.php';
  4. if (!api_is_platform_admin()) {
  5. die ('You must have admin permissions to install plugins');
  6. }
  7. CourseBlockPlugin::create()->install();