notification.php 379 B

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