public static function getRootUrl()
    {
        if (empty(self::$root) && defined('ROOT_URL')) {
            self::$root = ROOT_URL;
            if (!preg_match("/\/$/", self::$root)) {
                self::$root .= '/';
            }
        }

        return self::$root;
    }
public static function getRootUrl()
    {
        if (empty(self::$root) && defined('ROOT_URL')) {
            self::$root = ROOT_URL;
            if (!preg_match("/\/$/", self::$root)) {
                self::$root .= '/';
            }
        }

        return self::$root;
    }
public static function getRootUrl ( ) { if ( empty ( self :: $ root ) && defined ( 'ROOT_URL' ) ) { self :: $ root = ROOT_URL ; if ( ! preg_match ( "/\/$/" , self :: $ root ) ) { self :: $ root .= '/' ; } } return self :: $ root ; }
Short description of method getRootUrl

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@return string
Short description of method getRootUrl