title: Magento Overwrite Model from Mage_Core
body: <p>When I try to overwrite a model from Mage_Catalog (Mage_Catalog_Model_Product_Image for instance) I have no problem but when I try to do it for a model from Mage_Core (Mage_Core_Model_File_Uploader) it doesn't work.</p>
  
  <p>Is there some kind of protection on Mage_Core?
  I cannot use an observer instead so I really have to get that working.</p>
  
  <p>My config.xml:</p>
  
  <pre><code>&lt;models&gt;
      &lt;myshop&gt;
          &lt;class&gt;Adrien_Myshop_Model&lt;/class&gt;
      &lt;/myshop&gt;
      &lt;core&gt;
          &lt;rewrite&gt;
              &lt;file_uploader&gt;Adrien_Myshop_Model_Core_File_Uploader&lt;/file_uploader&gt;
          &lt;/rewrite&gt;
      &lt;/core&gt;
      &lt;catalog&gt;
          &lt;rewrite&gt;
              &lt;product_image&gt;Adrien_Myshop_Model_Catalog_Product_Image&lt;/product_image&gt;
          &lt;/rewrite&gt;
      &lt;/catalog&gt;
  &lt;/models&gt;
  </code></pre>
  
  <p>My new Uploader model:</p>
  
  <pre><code>class Adrien_Myshop_Model_Core_File_Uploader extends Mage_Core_Model_File_Uploader
  {
      protected function _moveFile($tmpPath, $destPath)
      {
          Mage::log("custom upload");
          return parent::_moveFile($tmpPath, $destPath);
      }
  
  }
  </code></pre>
  
  <p>I put a debug log into Mage_Core_Model_File_Uploader::_moveFile as well, when I run the script I get only the log from Mage_Core_Model_File_Uploader.</p>
  
  <p>However when I test it with Catalog_Product_Image I properly get both debug logs.</p>
  
  <p>Thank you for your help!</p>