modif in image constructor
This commit is contained in:
parent
89f2c4ac8c
commit
78a4f8574f
1 changed files with 2 additions and 12 deletions
|
@ -43,18 +43,8 @@ class image implements Core{
|
|||
if(!isset($app)){
|
||||
$this->app->setOutput("Error", "Incorrect parameter");
|
||||
}
|
||||
try{
|
||||
$this->app = $app;
|
||||
$this->libClass = $app->getLibClass("Image");
|
||||
}catch(BadResponseError $e){
|
||||
$this->app->getErrorInstance()->BadResponseHandler($e);
|
||||
}catch(UserInputError $e){
|
||||
$this->app->getErrorInstance->UserInputHandler($e);
|
||||
}catch(BaseError $e){
|
||||
$this->app->getErrorInstance->BaseErrorHandler($e);
|
||||
}catch(NotImplementedError $e){
|
||||
$this->app->getErrorInstance->NotImplementedHandler($e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue