(2014-03-10, 07:27:49)Carlos Wrote: @sbatko@Carlos
Not tested, but might work:
(in admin-pre-header as mvlcek suggests)Code:if (basename($_SERVER['PHP_SELF']) == 'load.php' && @$_GET['id'] == 'news_manager' && (isset($_POST['post']) || isset($_POST['settings']) || isset($_GET['delete']) || isset($_GET['restore']))) {
delete_i18n_search_index();
}
Works perfectly, there is no need to stat on file dates
Thanks for suggestions
Edit:
New version 0.3 in Extend, also Support Forum Thread started: http://get-simple.info/forums/showthread.php?tid=5766