title: Phalcon backup view path
body: <p>Is there any way to pass through a secondary path to the views dir in phalcon? </p>
  
  <p>in zend framework I think the syntax is </p>
  
  <pre><code>$this-&gt;view-&gt;addScriptPath('/backup/path');
  $this-&gt;view-&gt;addScriptPath('/preferred/path');
  </code></pre>
  
  <p>so if there is a file in the preferred path it will use it, if not it will fallback through the chain. </p>
  
  <p>I use this, for example, for mobile versions when most of the pages are the same, but some have to be significantly different and I don't want to have to duplicate all the views just for 2 or 3 variants</p>
  
  <p>In phalcon I have tried sending an array to the view, but that just results in neither working</p>
  
  <pre><code>$di-&gt;set('view', function() use ($config) {
      $view = new \Phalcon\Mvc\View();
      $view-&gt;setViewsDir( array('/preferred/path/', '/backup/path/') );
      return $view;
  });
  </code></pre>