We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df54bca commit 9037bedCopy full SHA for 9037bed
pear/PEAR/Packager.php
@@ -15,6 +15,7 @@
15
// +----------------------------------------------------------------------+
16
// | Authors: Stig Bakken <ssb@fast.no> |
17
// | Tomas V.V.Cox <cox@idecnet.com> |
18
+// | |
19
20
//
21
// $Id$
@@ -114,8 +115,11 @@ function _PEAR_Packager() {
114
115
116
// {{{ package()
117
- function package($pkgfile = 'package.xml')
118
+ function package($pkgfile = null)
119
{
120
+ if (empty($pkgfile)) {
121
+ $pkgfile = 'package.xml';
122
+ }
123
$pkginfo = $this->infoFromDescriptionFile($pkgfile);
124
if (PEAR::isError($pkginfo)) {
125
return $pkginfo;
0 commit comments