Page 1 of 1

[fixed] smarty_fetch_imageblock realpath error

Posted: Mon Jul 06, 2015 10:05 am
by ZHB
Hi,

There is a mistake in file "class.CMS_Content_block.php" at line 325.

Code: Select all

if( startswith($realpath($dir),realpath($basename)) ) { ...}
Note the "$" before realpath function.

Correct is :

Code: Select all

if( startswith(realpath($dir),realpath($basename)) ) { ...}

Re: smarty_fetch_imageblock realpath error

Posted: Mon Jul 06, 2015 3:14 pm
by calguy1000
fixed in svn.