[fixed] smarty_fetch_imageblock realpath error

Forum rules
Only administrators can post or move items here.
Post Reply
New Member
New Member
Posts: 1
Joined: Mon Jul 06, 2015 9:56 am

[fixed] smarty_fetch_imageblock realpath error

Post by ZHB »


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)) ) { ...}
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: smarty_fetch_imageblock realpath error

Post by calguy1000 »

fixed in svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Closed Issues”