protected function getTargetPath($path = null)
    {
        if ($path === null) {
            $baseUri = substr(Request::getBaseUrl(), strlen(Request::getBasePath()));
            $path = $baseUri.'/combine';
        }

        if (strpos($path, '/') === 0) {
            $path = substr($path, 1);
        }

        $path = str_replace('.', '-', $path).'/';
        return $path;
    }
protected function getTargetPath($path = null)
    {
        if ($path === null) {
            $baseUri = substr(Request::getBaseUrl(), strlen(Request::getBasePath()));
            $path = $baseUri.'/combine';
        }

        if (strpos($path, '/') === 0) {
            $path = substr($path, 1);
        }

        $path = str_replace('.', '-', $path).'/';
        return $path;
    }
protected function getTargetPath ( $ path = null ) { if ( $ path === null ) { $ baseUri = substr ( Request :: getBaseUrl ( ) , strlen ( Request :: getBasePath ( ) ) ) ; $ path = $ baseUri . '/combine' ; } if ( strpos ( $ path , '/' ) === 0 ) { $ path = substr ( $ path , 1 ) ; } $ path = str_replace ( '.' , '-' , $ path ) . '/' ; return $ path ; }
Returns the target path for use with the combiner. The target
path helps generate relative links within CSS.

/combine              returns combine/
/index.php/combine    returns index-php/combine/

@param string|null $path
@return string The new target path
Returns the target path for use with the combiner . The target path helps generate relative links within CSS .