私は Symfony2 を使用しています。キャッシュされたファイルをサーバーに配置する前に準備したい (同じマシンではない)。
問題はコンテンツ ファイルにあります。一部のファイルはリソースへの絶対パスで構成されているためです。次に例を示します。
file: ./dev/classes.php.meta ,
file: ./dev/templates.php,
file: ./dev/assetic/routing.yml
'WebProfilerBundle:Profiler:toolbar_item.html.twig' => '/var/www/symfony/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig',
相対パスに変更する方法はありますか?