Forums / Setup & design / Redirection and nested comments / Comment25065
Pascal France
Tuesday 04 September 2007 5:19:58 am
I did a little test: in kernel/content/edit.php I changed these 2 lines:
578 if ( $http->hasPostVariable( 'RedirectIfDiscarded' ) ) 579 $http->setSessionVariable( 'RedirectIfDiscarded', $http->postVariable( 'RedirectIfDiscarded' ) );
by these (since the RedirectURIAfterPublish Post variable is already defined in my templates and works fine):
578 if ( $http->hasPostVariable( 'RedirectURIAfterPublish' ) ) 579 $http->setSessionVariable( 'RedirectURIAfterPublish', $http->postVariable( 'RedirectURIAfterPublish' ) );
But it doesn't work better.
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish