title: Zend translate tries including '.php' and causing a fatal error
body: <p>I am receiving a strange fatal error with the Zend framework when trying to use the Translate class, it appears to try to load an empty file name (.php) which is ending in a fatal error.</p>
  
  <p>Below is the stack trace</p>
  
  <pre><code>[error] [client 79.160.197.135] PHP Warning:  include_once() [&lt;a href='function.include'&gt;function.include&lt;/a&gt;]: Failed opening '.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/Zend/Loader.php on line 146, referer: index.php
  [error] [client 79.160.197.135] PHP Stack trace:, referer: index.php
  [error] [client 79.160.197.135] PHP   1. {main}() /doc/index.php:0, referer: index.php
  [error] [client 79.160.197.135] PHP   2. Zend_Translate-&gt;__construct() /doc/index.php:19, referer: index.php
  [error] [client 79.160.197.135] PHP   3. Zend_Translate-&gt;setAdapter() /usr/share/php/Zend/Translate.php:89, referer: index.php
  [error] [client 79.160.197.135] PHP   4. Zend_Loader::loadClass() /usr/share/php/Zend/Translate.php:127, referer: index.php
  [error] [client 79.160.197.135] PHP   5. Zend_Loader::loadFile() /usr/share/php/Zend/Loader.php:94, referer: index.php
  [error] [client 79.160.197.135] PHP Fatal error:  Uncaught exception 'Zend_Exception' with message 'File ".php" does not exist or class "" was not found in the file' in /usr/share/php/Zend/Loader.php:99
  </code></pre>
  
  <p>And as a reference, the way I am calling the zend translate class is as follows</p>
  
  <pre><code>&lt;?php
  
      require_once( 'Zend/Loader.php' );
  
      Zend_Loader::loadClass( 'Zend_Translate' );
  
      $translate = new Zend_Translate(
          array(
              'gettext',
              'locale',
              null,
              array('scan' =&gt; Zend_Translate::LOCALE_DIRECTORY)
          )
      );
  ?&gt;
  </code></pre>
  
  <p>the $translate section is the one calling the class causing the crash.</p>