I'm using phpThum as a plugin for MeioUpload behavior on CakePHP2
On phpThumb.config.php i set:
$PHPTHUMB_CONFIG['allow_src_above_phpthumb'] = true;
but then on phpthumb.class.php, method ResolveFilenameToAbsolute it checks:
if (!$this->config_allow_src_above_docroot && ....
that was causing me some troubles, so if just above that check I var_dump($this->config_allow_src_above_docroot), it says it's FALSE.
i set it to true on line 142:
var $config_allow_src_above_docroot = true;
and now it's working.
shouldn't phpthumb be mapping those values overriden in phpThumb.config.php?
Log in to post a comment.