Esempio n. 1
0
 /**
  * Gets/sets the favicon url
  * @method faviconUrl
  * @static
  * @param {string} [$new_url=null]
  * @return {string}
  */
 static function faviconUrl($new_url = null)
 {
     if (!isset(self::$faviconUrl)) {
         self::$faviconUrl = Q_Request::baseUrl() . '/favicon.ico';
     }
     $old_url = self::$faviconUrl;
     if (isset($new_url)) {
         self::$faviconUrl = $new_url;
     }
     return $old_url;
 }