Esempio n. 1
0
 public static function getPublicUrl($path, $absoluteURL = false)
 {
     \UString::doStartWith($path, '/');
     $url = \Staq::App()->getBaseUri() . $path;
     if ($absoluteURL) {
         $url = \Staq\Util::getAbsoluteUrl($url);
     }
     return $url;
 }