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

From: Date: Thu, 17 Jun 2010 14:18:15 +0000
Subject: svn: /pear2/sandbox/pear2.php.net/trunk/www/ index.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9498@lists.php.net to get a copy of this message
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']);

« previous php.pear.core (#9498) next »