title: Share one tmp folder between main domain and subdomain in cakephp
body: <p>I have two domains, one is main domain and second one is subdomain. I need to share one tmp folder between both of them. In core.php i did like this <code>define('CACHE_DIR', TMP.'cache'.DS.$_SERVER['SERVER_NAME']);</code> and <code>Cache::config('default', array('engine' =&gt; 'File', 'path' =&gt; ROOT.DS.'tmp'.DS));</code> , but its not working. Please if anybody knows about this issue, help me?
  Thanks!</p>