Viewing 1 replies (of 1 total)
  • Thread Starter hongpong

    (@hongpong)

    Also having trouble with deprecated ereg() function. see
    https://www.devthought.com/2009/06/09/fix-ereg-is-deprecated-errors-in-php-53/

    PhpThumb 1.7.13 has the line in phpthumb.config.default:

    $PHPTHUMB_CONFIG['document_root'] = realpath((getenv('DOCUMENT_ROOT') && preg_match('#^'.preg_quote(realpath(getenv('DOCUMENT_ROOT'))).'#', realpath(__FILE__))) ? getenv('DOCUMENT_ROOT') : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__))));

Viewing 1 replies (of 1 total)
  • The topic ‘How to theme a masked image’ is closed to new replies.