svn: /pear2/sandbox/pear2.php.net/trunk/www/ index.php

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
saltybeagle                              Thu, 17 Jun 2010 14:18:15 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=300520

Log:
Set the preferred state so pyrus/simplechannelfrontend can browse all releases.

Changed paths:
    U   pear2/sandbox/pear2.php.net/trunk/www/index.php

Modified: pear2/sandbox/pear2.php.net/trunk/www/index.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/index.php	2010-06-17 14:00:57 UTC (rev 300519)
+++ pear2/sandbox/pear2.php.net/trunk/www/index.php	2010-06-17 14:18:15 UTC (rev 300520)
@@ -5,6 +5,9 @@
 require_once dirname(__FILE__).'/../src/PEAR2Web/License.php';
 require_once dirname(__FILE__).'/../src/PEAR2Web/Menu.php';

+// Set preferred state to devel, so pyrus can get info on all releases
+\PEAR2\Pyrus\Config::current()->preferred_state = 'devel';
+
 $channel = new \PEAR2\Pyrus\ChannelFile(__DIR__ . '/channel.xml');

 $options = $_GET + PEAR2Web\Router::getRoute($_SERVER['REQUEST_URI']);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.