notification.php 331 B

12345678910111213141516
  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. /**
  11. * Notification sending
  12. */
  13. $notify = new Notification();
  14. $notify->send();