Exemplo n.º 1
0
 /**
  * Constructor
  * Only ran by instantiated OS Drivers
  */
 public function __construct()
 {
     // Up to date filesystem information
     clearstatcache();
     // Get ancestors
     $ancs = OS::_getAncestors($this);
     foreach ($ancs as $i => $anc) {
         $ancs[$i] = OS::_getShortHand($anc);
     }
     // Set OS Details
     $this->_osDetails["shorthand"] = $this->_getShortHand(get_class($this));
     $this->_osDetails["ancestors"] = $ancs;
 }