예제 #1
0
파일: Thumbnail.php 프로젝트: Liv1020/cms
 public function init()
 {
     parent::init();
     if (!$this->w && !$this->h) {
         throw new Exception("Необходимо указать ширину или высоту");
     }
 }