Wednesday 22 July 2009 11:28:56 am - 1 reply
Hi,
Environment: ezp 4.1.3 php 5.2.10 apache 2.2.11 OS Debian
I'm experiencing a strange problem: when caching (view, template) is enabled LastAccessUri is non set when you edit a content Item.
To overcame this problem I modified index.php:
original code:
// Update last accessed view page
if ( $currentURI != $lastAccessedViewURI and
!in_array( $module->uiContextName(), array('edit', 'administration', 'browse', 'authentication' ) ) )
{
$http->setSessionVariable( "LastAccessesURI", $currentURI );
}
modified code:
// Update last accessed view page
if ( $currentURI != $lastAccessedViewURI and
!in_array( $module->uiContextName(), array('edit', 'administration', 'browse', 'authentication' ) ) )
{
if (strlen($currentURI)>0){
$http->setSessionVariable( "LastAccessesURI", $currentURI );
}
}
Is this a bug?
Should I report it?
Modified on Wednesday 22 July 2009 4:16:54 pm by Matteo Mosangini
You must be logged in to post messages in this topic!