You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap.php 324B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 5/29/16
  6. * Time: 2:59 PM
  7. */
  8. class AbortException extends \Exception
  9. {
  10. public function __construct($code, $reason)
  11. {
  12. parent::__construct($reason, $code, null);
  13. }
  14. }
  15. function abort($code, $reason)
  16. {
  17. throw new AbortException($code, $reason);
  18. }