throw_exception方法简化为E方法

删除redirect方法和N方法
This commit is contained in:
thinkphp
2013-03-31 10:15:32 +08:00
parent 0a0a8d0dce
commit 7890bca611
27 changed files with 85 additions and 217 deletions

View File

@@ -30,7 +30,7 @@ class Imagick{
*/
public function __construct($imgname = null) {
if ( !extension_loaded('Imagick') ) {
throw_exception(__('_NOT_SUPPERT_').':Imagick');
E(L('_NOT_SUPPERT_').':Imagick');
}
$imgname && $this->open($imgname);
}