title: How to override magento 1.7 default Mage_Page codePool
body: <p>Before getting started, I am using Magento 1.7.</p>
  
  <p>I am trying to create a custom theme outside default package and got everything okay so far.
  But I have to change the <strong>app/etc/modules/Mage_All.xml</strong> file 
  so that I can access the local folder with the module configs.</p>
  
  <p>This is the original block of code:</p>
  
  <pre><code>&lt;Mage_Page&gt;
      &lt;active&gt;true&lt;/active&gt;
      &lt;codePool&gt;core&lt;/codePool&gt;
      &lt;depends&gt;
          &lt;Mage_Core/&gt;
      &lt;/depends&gt;
  &lt;/Mage_Page&gt;
  </code></pre>
  
  <p>And this is the line I have changed:</p>
  
  <pre><code>&lt;codePool&gt;core&lt;/codePool&gt;
  </code></pre>
  
  <p>However, as good practice in programming we should never edit core files, so I'm afraid that if upgrade my magento that file will be replaced and so, the theme would stop working.</p>
  
  <p>So que question is how to override this settings.</p>
  
  <p>I've created a module  'Local' inside app/code/local/Local with proper config.xml and system.xml files.</p>
  
  <p>And created a xml file for the module itself inside app/etc/modules/Local.xml</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Local&gt;
              &lt;active&gt;true&lt;/active&gt;
              &lt;codePool&gt;local&lt;/codePool&gt;
              &lt;depends&gt;
                  &lt;Mage_Page/&gt;
              &lt;/depends&gt;
          &lt;/Local&gt;
      &lt;/modules&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>As I said, if I alter the Mage_All file it works like a charm...
  but I'd like to know if there is another way off calling local code folder</p>