title: Global Variable in CakePhp not accessible
body: <p>I have the following code to set a global variable, however it is not being passed through to my views. Any ideas where i'm going wrong?</p>
  
  <pre><code>class AppController extends Controller {
      var $global_variables = array('miDateFormat' =&gt; 'd/m/y');
  
      public function beforeFilter() {
          $this-&gt;set('global_variables', $this-&gt;global_variables);
      }
  
  }
  </code></pre>