Ejemplo n.º 1
0
 /**
  * get current working directory
  */
 public static function getCwd()
 {
     if (!Exec::allowed() || OperatingSystem::isWindows()) {
         return getcwd();
     }
     Exec::run('pwd', $folder);
     return $folder;
 }