<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,11 +15,11 @@
   &lt;email&gt;fabien.potencier@symfony-project.org&lt;/email&gt;
   &lt;active&gt;yes&lt;/active&gt;
  &lt;/lead&gt;
- &lt;date&gt;2009-11-09&lt;/date&gt;
- &lt;time&gt;16:00:00&lt;/time&gt;
+ &lt;date&gt;2009-11-10&lt;/date&gt;
+ &lt;time&gt;08:00:00&lt;/time&gt;
  &lt;version&gt;
-  &lt;release&gt;0.9.2&lt;/release&gt;
-  &lt;api&gt;0.9.2&lt;/api&gt;
+  &lt;release&gt;0.9.3&lt;/release&gt;
+  &lt;api&gt;0.9.3&lt;/api&gt;
  &lt;/version&gt;
  &lt;stability&gt;
   &lt;release&gt;beta&lt;/release&gt;</diff>
      <filename>package.xml</filename>
    </modified>
    <modified>
      <diff>@@ -10,8 +10,13 @@
  * file that was distributed with this source code.
  */
 
-$cli = new Pirum_CLI($argv);
-exit($cli-&gt;run());
+// only run Pirum automatically when this file is called directly
+// from the command line
+if (isset($argv[0]) &amp;&amp; __FILE__ == realpath($argv[0]))
+{
+  $cli = new Pirum_CLI($argv);
+  exit($cli-&gt;run());
+}
 
 /**
  * Command line interface for Pirum.
@@ -22,7 +27,7 @@ exit($cli-&gt;run());
  */
 class Pirum_CLI
 {
-  const VERSION = '0.9.2';
+  const VERSION = '0.9.3';
 
   protected $options;
   protected $formatter;
@@ -308,6 +313,7 @@ EOF
 EOF;
     }
 
+    $version = Pirum_CLI::VERSION;
     $index = &lt;&lt;&lt;EOF
 &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
@@ -343,7 +349,7 @@ pear install {$this-&gt;server-&gt;alias}/package_name-beta&lt;/code&gt;&lt;/pre&gt;
       &lt;/div&gt;
     &lt;/div&gt;
     &lt;div id=&quot;ft&quot;&gt;
-      &lt;p&gt;&lt;small&gt;The {$this-&gt;server-&gt;url} PEAR Channel Server is proudly powered by &lt;a href=&quot;http://www.pirum-project.org/&quot;&gt;Pirum&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
+      &lt;p&gt;&lt;small&gt;The &lt;em&gt;{$this-&gt;server-&gt;name}&lt;/em&gt; PEAR Channel Server is proudly powered by &lt;a href=&quot;http://www.pirum-project.org/&quot;&gt;Pirum&lt;/a&gt; $version&lt;/small&gt;&lt;/p&gt;
     &lt;/div&gt;
   &lt;/div&gt;
 &lt;/body&gt;</diff>
      <filename>pirum</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c43e8cb56b0008afc56d8f7fe4284e1d9f088d89</id>
    </parent>
  </parents>
  <author>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </author>
  <url>http://github.com/fabpot/Pirum/commit/0154cf541c07d848d623ab3bfffd70986048c38a</url>
  <id>0154cf541c07d848d623ab3bfffd70986048c38a</id>
  <committed-date>2009-11-09T23:26:16-08:00</committed-date>
  <authored-date>2009-11-09T23:26:16-08:00</authored-date>
  <message>fixed Pirum when used from a script and not from the command line directly</message>
  <tree>d47b0ec1ac74b93c4292a62d97bb74f4e1bd9dd1</tree>
  <committer>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </committer>
</commit>
