mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -24,8 +24,15 @@ if (! defined('IN_COMMON'))
|
||||
*/
|
||||
function helper_watermark($name, $ext)
|
||||
{
|
||||
$return = false;
|
||||
|
||||
is_array($plugin_run_result = Plugins::getInstance()->run('helper_watermark_func', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||
|
||||
if ($return)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//is this file really exsits ?
|
||||
if (! file_exists($name))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user