Esempio n. 1
0
 /**
  * Short description of method getRootUrl
  *
  * @access public
  * @author Jerome Bogaerts, <*****@*****.**>
  * @return string
  */
 public static function getRootUrl()
 {
     $returnValue = (string) '';
     if (is_null(self::$root) && defined('ROOT_URL')) {
         self::$root = ROOT_URL;
         if (!preg_match("/\\/\$/", self::$root)) {
             self::$root .= '/';
         }
     }
     $returnValue = self::$root;
     return (string) $returnValue;
 }