Example #1
0
 public function __construct()
 {
     // call the constructor function of the Dbase class
     parent::__construct();
     $validationPages = array('register', 'login', 'checkout', 'adminartist', 'adminartwork', 'order', 'contact', 'account', 'royalty');
     if (in_array($_GET['page'], $validationPages)) {
         include 'classes/validateClass.php';
         $this->validate = new Validate();
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }