It seems like you do not handle an error condition here. This can introduce security issues, and is generally not recommended.
If you suppress an error, we recommend checking for the error condition explicitly:
// For example instead of@mkdir($dir);// Better useif(@mkdir($dir)===false){thrownew\RuntimeException('The directory '.$dir.' could not be created.');}
Loading history...
17
'The '.__NAMESPACE__.'\PersonalTranslatable class is deprecated since version 2.1 and will be removed in 3.0.'.
18
'Use the '.__NAMESPACE__.'\PersonalTranslatableTrait class instead.',
19
E_USER_DEPRECATED
20
);
21
22
/**
23
* If you don't want to use trait, you can extend AbstractPersonalTranslatable instead.
If you suppress an error, we recommend checking for the error condition explicitly: