namespace app\web\controller; error_reporting(0); class Profile { public $checker; public $filename_tmp; public $filename; public $upload_menu; public $ext; public $img; public $except;
public function __get($name) { return $this->except[$name]; } public function __call($name, $arguments) { if($this->{$name}){ $this->{$this->{$name}}($arguments); } }
}
class Register { public $checker; public $registed;
public function __destruct() { if(!$this->registed){ $this->checker->index(); } }