From 56a2d59605a914d2bc46d235575b021e3d1b0b7e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 08 Jun 2008 15:12:56 -0400
Subject: [PATCH] cleanup.

---
 install/lib/install.lib.php |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index 7e81b6d..b8f40f1 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -83,9 +83,7 @@
 }
 
 function sread() {
-    $f = fopen('/dev/stdin', 'r');
-    $input = fgets($f, 255);
-    fclose($f);
+    $input = fgets(STDIN);
     return rtrim($input);
 }
 

--
Gitblit v1.9.1