Beispiel #1
0
 /**
  * enable dotfiles in directory listings
  *
  * @since  1.3.0
  */
 public static function enableDotfiles()
 {
     self::$dotFiles = true;
 }
Beispiel #2
0
 /**
  * sets new umask setting and returns previous umask setting
  *
  * If no value is given only the current umask setting is returned.
  *
  * @param   int  $umask  new umask setting
  * @return  int
  * @since   0.8.0
  */
 public static function umask($umask = null)
 {
     $oldUmask = self::$umask;
     if (null !== $umask) {
         self::$umask = $umask;
     }
     return $oldUmask;
 }