Jump to content

Backoffice pages don't refresh after any modification


alinam
 Share

Recommended Posts

Hi there,

we are working on PS 1.6.0.6 and in BO the pages do not refresh after modifying data. I need to manually refresh to see any changes made. 

I searched for similar topics to find a solution but didn't found any.

 

 

Share this post


Link to post
Share on other sites

  • 5 months later...

In classes/controller/AdminController.php

add (about line 1523) headers :

	public function initHeader()
	{
		header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
		header('Pragma: no-cache');
		header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
		// Multishop
		$is_multishop = Shop::isFeatureActive();

                .....
Clear your browser cache after mod (ctrl + f5) Edited by Eolia (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More