mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
规范调整
This commit is contained in:
@@ -30,7 +30,7 @@ class Imagick{
|
||||
*/
|
||||
public function __construct($imgname = null) {
|
||||
if ( !extension_loaded('Imagick') ) {
|
||||
E(L('_NOT_SUPPERT_').':Imagick');
|
||||
throw new \Exception(Lang::get('_NOT_SUPPERT_').':Imagick');
|
||||
}
|
||||
$imgname && $this->open($imgname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user