mv pochetool pochetools

This commit is contained in:
Nicolas Lœuillet
2013-08-02 23:04:24 +02:00
parent 5ffe5cf541
commit 161395d709
5 changed files with 156 additions and 30 deletions

View File

@ -75,11 +75,11 @@ class pocheTools
# prevent loop
if (empty($url) || parse_url($url, PHP_URL_QUERY) === $_SERVER['QUERY_STRING']) {
$url = pocheTool::getUrl();
$url = pocheTools::getUrl();
}
if (substr($url, 0, 1) !== '?') {
$ref = pocheTool::getUrl();
$ref = pocheTools::getUrl();
if (substr($url, 0, strlen($ref)) !== $ref) {
$url = $ref;
}