예제 #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();
     }
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
 }