12345678
  1. <?php
  2. try {
  3. include("models/promo.class.php");
  4. $promo = new Promo("test");
  5. $promo->erase();
  6. } catch(Exception $e) {
  7. echo $e;
  8. }