Thread: [Phpsysinfo-subversion] SF.net SVN: phpsysinfo:[394] trunk/includes/class.CommonFunctions.inc.php
Brought to you by:
namiltd
From: <jac...@us...> - 2010-11-12 14:22:48
|
Revision: 394 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=394&view=rev Author: jacky672 Date: 2010-11-12 14:22:42 +0000 (Fri, 12 Nov 2010) Log Message: ----------- set PSI_VERSION to 3.x on the SVN Modified Paths: -------------- trunk/includes/class.CommonFunctions.inc.php Modified: trunk/includes/class.CommonFunctions.inc.php =================================================================== --- trunk/includes/class.CommonFunctions.inc.php 2010-11-12 14:15:13 UTC (rev 393) +++ trunk/includes/class.CommonFunctions.inc.php 2010-11-12 14:22:42 UTC (rev 394) @@ -30,7 +30,7 @@ * * @var string */ - const PSI_VERSION = '3.0.5'; + const PSI_VERSION = '3.x'; /** * Find a system program, do also path checking when not running on WINNT This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <na...@us...> - 2012-04-15 16:29:19
|
Revision: 568 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=568&view=rev Author: namiltd Date: 2012-04-15 16:29:13 +0000 (Sun, 15 Apr 2012) Log Message: ----------- Modified Paths: -------------- trunk/includes/class.CommonFunctions.inc.php Modified: trunk/includes/class.CommonFunctions.inc.php =================================================================== --- trunk/includes/class.CommonFunctions.inc.php 2012-04-11 08:46:29 UTC (rev 567) +++ trunk/includes/class.CommonFunctions.inc.php 2012-04-15 16:29:13 UTC (rev 568) @@ -267,8 +267,12 @@ while ($time >= 0) { $read = array($pipes[1]); +/* while (!feof($read[0]) && ($n = stream_select($read, $w, $e, $time)) !== false && $n > 0 && strlen($c = fgetc($read[0])) > 0) { $out .= $c; +*/ + while (!feof($read[0]) && ($n = stream_select($read, $w, $e, $time)) !== false && $n > 0) { + $out .= fread($read[0], 4096); } --$time; } @@ -276,8 +280,12 @@ $time = $sek; while ($time >= 0) { $read = array($pipes[2]); +/* while (!feof($read[0]) && ($n = stream_select($read, $w, $e, $time)) !== false && $n > 0 && strlen($c = fgetc($read[0])) > 0) { $err .= $c; +*/ + while (!feof($read[0]) && ($n = stream_select($read, $w, $e, $time)) !== false && $n > 0) { + $err .= fread($read[0], 4096); } --$time; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <na...@us...> - 2012-04-16 07:10:58
|
Revision: 570 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=570&view=rev Author: namiltd Date: 2012-04-16 07:10:52 +0000 (Mon, 16 Apr 2012) Log Message: ----------- Modified Paths: -------------- trunk/includes/class.CommonFunctions.inc.php Modified: trunk/includes/class.CommonFunctions.inc.php =================================================================== --- trunk/includes/class.CommonFunctions.inc.php 2012-04-16 06:08:18 UTC (rev 569) +++ trunk/includes/class.CommonFunctions.inc.php 2012-04-16 07:10:52 UTC (rev 570) @@ -23,13 +23,6 @@ * @version Release: 3.0 * @link http://phpsysinfo.sourceforge.net */ - - -function my_exception_handler($e) { - // do some erorr handling here, such as logging, emailing errors - // to the webmaster, showing the user an error page etc -} - class CommonFunctions { /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <na...@us...> - 2012-08-17 06:25:22
|
Revision: 632 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=632&view=rev Author: namiltd Date: 2012-08-17 06:25:16 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Modified Paths: -------------- trunk/includes/class.CommonFunctions.inc.php Modified: trunk/includes/class.CommonFunctions.inc.php =================================================================== --- trunk/includes/class.CommonFunctions.inc.php 2012-08-16 06:18:31 UTC (rev 631) +++ trunk/includes/class.CommonFunctions.inc.php 2012-08-17 06:25:16 UTC (rev 632) @@ -243,10 +243,12 @@ */ public static function checkForExtensions($arrExt = array()) { - if (PHP_OS != "Minix") + if (PHP_OS == "Minix") + $arrReq = array('simplexml', 'pcre', 'xml', 'dom'); + if (PHP_OS == "WINNT") + $arrReq = array('simplexml', 'pcre', 'xml', 'mbstring', 'dom', 'com_dotnet'); + else $arrReq = array('simplexml', 'pcre', 'xml', 'mbstring', 'dom'); - else - $arrReq = array('simplexml', 'pcre', 'xml', 'dom'); $extensions = array_merge($arrExt, $arrReq); $text = ""; $error = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |