Beispiel #1
0
 /**
  * Return target by clean URL
  *
  * @return string
  */
 protected static function getTargetByCleanURL()
 {
     $tmp = \XLite\Core\Request::getInstance();
     list($target, $params) = \XLite\Core\Converter::parseCleanUrl($tmp->url, $tmp->last, $tmp->rest, $tmp->ext);
     if (!empty($target)) {
         $tmp->mapRequest($params);
         static::$cleanURL = true;
     }
     return $target;
 }