cvs: pearweb /public_html package-new.php
[email protected] ("Helgi ?ormar ?orbj?rnsson") Thu, 08 May 2008 22:42:38 -0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <cvsdufuz1210286558@cvsserver> |
dufuz Thu May 8 22:42:38 2008 UTC
Modified files:
/pearweb/public_html package-new.php
Log:
Work on any channel
http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-new.php?r1=1.45&r2=1.46&diff_format=u
Index: pearweb/public_html/package-new.php
diff -u pearweb/public_html/package-new.php:1.45 pearweb/public_html/package-new.php:1.46
--- pearweb/public_html/package-new.php:1.45 Thu May 8 20:48:22 2008
+++ pearweb/public_html/package-new.php Thu May 8 22:42:38 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: package-new.php,v 1.45 2008/05/08 20:48:22 dufuz Exp $
+ $Id: package-new.php,v 1.46 2008/05/08 22:42:38 dufuz Exp $
*/
require_once 'HTML/QuickForm.php';
@@ -65,7 +65,7 @@
include_once 'pear-database-package.php';
$pkg = package::add(array(
'name' => $_POST['name'],
- 'type' => 'pear',
+ 'type' => SITE,
'category' => $_POST['category'],
'license' => $_POST['license'],
'summary' => $_POST['summary'],