[-] MO : fixed deprecated link in statdata #PNM-315

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17011 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-27 09:43:47 +00:00
parent 15cac106e8
commit a2b2540b1b
+2 -2
View File
@@ -124,7 +124,7 @@ class StatsData extends Module
navinfo.type = "navinfo";
navinfo.id_guest = "'.(int)$params['cookie']->id_guest.'";
navinfo.token = "'.$token.'";
$.post("'._PS_BASE_URL_.__PS_BASE_URI__.'statistics.php", navinfo);
$.post("'.Context::getContext()->link->getPageLink('statistics').'", navinfo);
}
);
</script>';
@@ -159,7 +159,7 @@ class StatsData extends Module
pagetime.time_start = "'.$tokenArray['time_start'].'";
pagetime.token = "'.$token.'";
pagetime.time = time_end-time_start;
$.post("'._PS_BASE_URL_.__PS_BASE_URI__.'statistics.php", pagetime);
$.post("'.Context::getContext()->link->getPageLink('statistics').'", pagetime);
}
);
</script>';