Closed renarena closed 3 years ago
Can you submit a PR showing exactly what you're suggesting to change, please?
in phpthumb.class.php and phpthumb.configphp change if (!class_exists('phpthumb_functions')) to if (!class_exists('phpthumb_functions',false))
https://github.com/JamesHeinrich/phpThumb/issues/94 the change for of this issue caused another one: if you use class autoloading this may cause an error if loading the class fails (different location then classes of main project). This can be prevented by setting the parameter autoload to false. class_exists ( string $class_name , bool $autoload = false )