Exemplo n.º 1
0
 /**
  * Get the subdirectory part of the url, stripped
  *
  * @return string
  */
 public static function getStrippedWebroot()
 {
     if (self::$_stripped_webroot === null) {
         self::$_stripped_webroot = self::isCLI() ? '' : rtrim(self::getWebroot(), '/');
     }
     return self::$_stripped_webroot;
 }