title: Read Config variable at webroot file
body: <p>In my application,I already set a variable like config in core.php such as</p>
  
  <p><strong>core.php</strong></p>
  
  <pre><code>$websetting = array(
      'mydomain' =&gt; $_SERVER['HTTP_HOST'],
      'adminEmail' =&gt; 'admin@xyz.com',
      'supportEmail' =&gt; 'support@xyz.com',
      'infoEmail' =&gt; 'info@xyz.com',
      'accountEmail' =&gt; 'accounts@xyz.com',
      'facebook' =&gt; 'facebook.com/xyz',
      'twitter' =&gt; 'twitter.com/@xyz'
  );
  
  Configure::write('WebsiteSetting', $websetting);
  </code></pre>
  
  <p>Now I create a one morning.php file in cj in webroot. So my path is like: <code>webroot/cj/morning.php</code></p>
  
  <p>In morning.php I try to read <code>Configure::read('WebsiteSetting.mydomain')</code>.</p>
  
  <pre><code>&lt;?php
  echo Configure::read('WebsiteSetting.mydomain');
  ?&gt;
  </code></pre>
  
  <p>What happened :</p>