notification.php 382 B

123456789101112131415161718
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * @package chamilo.notification
  5. *
  6. * @author Julio Montoya <gugli100@gmail.com>
  7. */
  8. if (PHP_SAPI != 'cli') {
  9. die('Run this script through the command line or comment this line in the code');
  10. }
  11. require_once __DIR__.'/../inc/global.inc.php';
  12. /**
  13. * Notification sending.
  14. */
  15. $notify = new Notification();
  16. $notify->send();