cvs: pear /PEAR_PackageFileManager PackageFileManager.php

From: Date: Tue, 14 Oct 2003 23:39:01 +0000
Subject: cvs: pear /PEAR_PackageFileManager PackageFileManager.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-13608@lists.php.net to get a copy of this message
cellog Tue Oct 14 19:39:01 2003 EDT Modified files: /pear/PEAR_PackageFileManager PackageFileManager.php Log: input validation, remove warning on error Index: pear/PEAR_PackageFileManager/PackageFileManager.php diff -u pear/PEAR_PackageFileManager/PackageFileManager.php:1.14 pear/PEAR_PackageFileManager/PackageFileManager.php:1.15 --- pear/PEAR_PackageFileManager/PackageFileManager.php:1.14 Tue Oct 14 19:21:03 2003 +++ pear/PEAR_PackageFileManager/PackageFileManager.php Tue Oct 14 19:39:01 2003 @@ -16,7 +16,7 @@ // | Web http://www.phpdoc.org | // | Mirror http://phpdocu.sourceforge.net/ | // +------------------------------------------------------------------------+ -// $Id: PackageFileManager.php,v 1.14 2003/10/14 23:21:03 cellog Exp $ +// $Id: PackageFileManager.php,v 1.15 2003/10/14 23:39:01 cellog Exp $ // /** @@ -1120,6 +1120,9 @@ } return true; } else { + if (!is_string($path)) { + $path = gettype($path); + } return $this->raiseError(PEAR_PACKAGEFILEMANAGER_PATH_DOESNT_EXIST, $path); }

« previous php.pear.cvs (#13608) next »