title: Symfony2 - relative path in cache file
body: <p>I work with Symfony2.
  I want to prepare cached files before putting them on server (not the same machine).</p>
  
  <p>Problem is in content files, because some of them consists absolute path to resources, for example:</p>
  
  <pre><code>file: ./dev/classes.php.meta , 
  file: ./dev/templates.php,
  file: ./dev/assetic/routing.yml
  
  'WebProfilerBundle:Profiler:toolbar_item.html.twig' =&gt; '/var/www/symfony/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig',
  </code></pre>
  
  <p>Is there any way to change it into <strong>relative</strong> path?</p>