[-] 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:
1 parent
15cac106e8
commit
a2b2540b1b
1 file changed
+2
-2
@@ -124,7 +124,7 @@ class StatsData extends Module
|
|||||||
navinfo.type = "navinfo";
|
navinfo.type = "navinfo";
|
||||||
navinfo.id_guest = "'.(int)$params['cookie']->id_guest.'";
|
navinfo.id_guest = "'.(int)$params['cookie']->id_guest.'";
|
||||||
navinfo.token = "'.$token.'";
|
navinfo.token = "'.$token.'";
|
||||||
$.post("'._PS_BASE_URL_.__PS_BASE_URI__.'statistics.php", navinfo);
|
$.post("'.Context::getContext()->link->getPageLink('statistics').'", navinfo);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
</script>';
|
</script>';
|
||||||
@@ -159,7 +159,7 @@ class StatsData extends Module
|
|||||||
pagetime.time_start = "'.$tokenArray['time_start'].'";
|
pagetime.time_start = "'.$tokenArray['time_start'].'";
|
||||||
pagetime.token = "'.$token.'";
|
pagetime.token = "'.$token.'";
|
||||||
pagetime.time = time_end-time_start;
|
pagetime.time = time_end-time_start;
|
||||||
$.post("'._PS_BASE_URL_.__PS_BASE_URI__.'statistics.php", pagetime);
|
$.post("'.Context::getContext()->link->getPageLink('statistics').'", pagetime);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
</script>';
|
</script>';
|
||||||
|
|||||||
Reference in new issue
Block a user