notification.php 392 B

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