protected function getWebPath($output)
    {
        $path = trim(dirname($output), '/');
        $count = count(explode('/', $path));

        $path = '';

        for ($i = 0; $i < $count-1; $i++) {
            $path.= '/..';
        }

        return $path;
    }