svn: /pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/ CLI.php
| From: | Brett Bieber | Date: | Sun, 08 Nov 2009 15:04:08 +0000 |
| Subject: | svn: /pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/ CLI.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9017@lists.php.net to get a copy of this message | ||
saltybeagle Sun, 08 Nov 2009 15:04:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290396
Log:
Correct rest path in categories.xml
Changed paths:
U pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/CLI.php
Modified: pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/CLI.php
===================================================================
--- pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/CLI.php 2009-11-08 15:02:54 UTC
(rev 290395)
+++ pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/CLI.php 2009-11-08 15:04:08 UTC
(rev 290396)
@@ -72,7 +72,7 @@
$args['category'] = $_SERVER['argv'][3];
$categories = new Categories($this->channel);
$categories->linkPackageToCategory($args['package'],
$args['category']);
- $category = new REST\Category($this->dir . '/rest',
$this->channel->name, null, $categories);
+ $category = new REST\Category($this->dir . '/rest',
$this->channel->name, 'rest/', $categories);
$category->saveAllCategories();
$category->savePackagesInfo($args['category']);
echo "Added {$args['package']} to {$args['category']} \n";
@@ -101,7 +101,7 @@
$categories = new Categories($this->channel);
$categories->create($args['category'], $args['description']);
- $category = new REST\Category($this->dir . '/rest',
$this->channel->name, null, $categories);
+ $category = new REST\Category($this->dir . '/rest',
$this->channel->name, 'rest/', $categories);
$category->saveAllCategories();
$category->savePackagesInfo($args['category']);
echo "Added category ", $args['category'], "\n";
@@ -116,7 +116,7 @@
$categories = new Categories($this->channel);
$categories->create($args['category'], $args['description']);
- $category = new REST\Category($this->dir . '/rest',
$this->channel->name, null, $categories);
+ $category = new REST\Category($this->dir . '/rest',
$this->channel->name, 'rest/', $categories);
$category->saveAllCategories();
$category->savePackagesInfo($args['category']);
echo "Added category ", $args['category'], "\n";