lib/Lime/App.php
public function baseUrl($path) {

        $url = '';

        if (\strpos($path, ':')===false) {

            /*
            if ($this->registry['base_port'] != '80') {
                $url .= $this->registry['site_url'];
            }
            */

            $url .= $this->registry['base_url'].'/'.\ltrim($path, '/');

        } else {
            $url = $this->pathToUrl($path);
        }

        return $url;
    }
public function baseUrl($path) {

        $url = '';

        if (\strpos($path, ':')===false) {

            /*
            if ($this->registry['base_port'] != '80') {
                $url .= $this->registry['site_url'];
            }
            */

            $url .= $this->registry['base_url'].'/'.\ltrim($path, '/');

        } else {
            $url = $this->pathToUrl($path);
        }

        return $url;
    }
public function baseUrl ( $ path ) { $ url = '' ; if ( \ strpos ( $ path , ':' ) === false ) { /*
            if ($this->registry['base_port'] != '80') {
                $url .= $this->registry['site_url'];
            }
            */ $ url .= $ this -> registry [ 'base_url' ] . '/' . \ ltrim ( $ path , '/' ) ; } else { $ url = $ this -> pathToUrl ( $ path ) ; } return $ url ; }
Returns link based on the base url of the app
@param  String $path e.g. /js/myscript.js
@return String       Link
Returns link based on the base url of the app