svn: /pear2/sandbox/pear2.php.net/trunk/ config.sample.php index.php

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
saltybeagle                              Wed, 12 May 2010 02:55:15 +0000

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

Log:
Change namespace from pear2 to PEAR2, as approved by the PEAR Group.

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

Modified: pear2/sandbox/pear2.php.net/trunk/config.sample.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/config.sample.php	2010-05-12 02:42:02 UTC (rev 299274)
+++ pear2/sandbox/pear2.php.net/trunk/config.sample.php	2010-05-12 02:55:15 UTC (rev 299275)
@@ -4,4 +4,4 @@
 // set up basics
 require_once dirname(__FILE__).'/includes/autoload.php';

-pear2\SimpleChannelFrontend\Main::$url = 'http://pear2.php.net/';
\ No newline at end of file
+PEAR2\SimpleChannelFrontend\Main::$url = 'http://pear2.php.net/';
\ No newline at end of file

Modified: pear2/sandbox/pear2.php.net/trunk/index.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/index.php	2010-05-12 02:42:02 UTC (rev 299274)
+++ pear2/sandbox/pear2.php.net/trunk/index.php	2010-05-12 02:55:15 UTC (rev 299275)
@@ -15,12 +15,12 @@
     }
 }

-$channel = new \pear2\Pyrus\ChannelFile(__DIR__ . '/channel.xml');
+$channel = new \PEAR2\Pyrus\ChannelFile(__DIR__ . '/channel.xml');

-$frontend = new pear2\SimpleChannelFrontend\Main($channel, $options);
+$frontend = new PEAR2\SimpleChannelFrontend\Main($channel, $options);

-$savant = new pear2\Templates\Savant\Main();
-$savant->setClassToTemplateMapper(new pear2\SimpleChannelFrontend\TemplateMapper);
+$savant = new PEAR2\Templates\Savant\Main();
+$savant->setClassToTemplateMapper(new PEAR2\SimpleChannelFrontend\TemplateMapper);
 $savant->setTemplatePath(array(__DIR__ . '/templates/default/html', __DIR__ . '/templates/pear2'));

 switch($frontend->options['format']) {
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.