title: Problems Overriding Magento Community Module Controller
body: <p>First of all, the Answer here is very helpful: <a href="https://stackoverflow.com/questions/15814708/overriding-a-magento-controller-in-community-extention/15834524#15834524">Overriding a Magento Controller in community extention</a></p>
  
  <p>However, despite passing both of the "tests" mentioned in the answer there, I still have a module controller override that just refuses to work. Here is what I have:</p>
  
  <p><strong>\app\code\local\Company\OnepageCheckout\etc\config.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Company_OnepageCheckout&gt;
              &lt;version&gt;0.0.1&lt;/version&gt; 
          &lt;/Company_OnepageCheckout&gt;
      &lt;/modules&gt;
      &lt;frontend&gt;
          &lt;routers&gt;
              &lt;onepagecheckout&gt;
                  &lt;args&gt;
                      &lt;modules&gt;
                          &lt;company_onepagecheckout before="IWD_OnepageCheckout"&gt;Company_OnepageCheckout&lt;/company_onepagecheckout&gt;
                      &lt;/modules&gt;
                  &lt;/args&gt;
              &lt;/onepagecheckout&gt;
          &lt;/routers&gt;
      &lt;/frontend&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p><strong>\app\code\local\Company\OnepageCheckout\controllers\IndexController.php</strong></p>
  
  <pre><code>&lt;?php
  
  require_once(Mage::getModuleDir('controllers','IWD_OnepageCheckout').DS.'IndexController.php');
  
  class Company_OnepageCheckout_IndexController extends IWD_OnepageCheckout_IndexController
  {
      function indexAction() {
          die('Hello world!');
      }
  }
  </code></pre>
  
  <p><strong>\app\etc\modules\Company_OnepageCheckout.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Company_OnepageCheckout&gt;
              &lt;active&gt;true&lt;/active&gt;
              &lt;codePool&gt;local&lt;/codePool&gt;
              &lt;depends&gt;
                  &lt;IWD_OnepageCheckout /&gt;
              &lt;/depends&gt;
          &lt;/Company_OnepageCheckout&gt;
      &lt;/modules&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>This module is meant to override a module that is located in <code>\app\code\community\IWD\OnepageCheckout\[...]</code></p>
  
  <p>As mentioned at the top of this post, I've used the Reflection class as suggested in that other Question and can see my module first in the array ahead of the community module. However, when I visit mysite.com/onepagecheckout I still see the community module, and can't get it to use my file.</p>
  
  <p><em>My hunch here is that it might have something to do with the capitalization of the module name that I'm just missing.</em></p>