update.php 428 B

1234567891011121314
  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. *
  7. * @package chamilo.plugin.notebookteacher
  8. */
  9. require_once __DIR__.'/config.php';
  10. if (!api_is_platform_admin()) {
  11. die('You must have admin permissions to install plugins');
  12. }
  13. NotebookTeacherPlugin::create()->update();