Carabiner cache different paths |
[eluser]GeXus[/eluser]
Hey guys, I'm using carabiner and my cache directory is set to 'SiteName/assets/cache/' - This is the full path and it writes to it just fine. When I go to display the files however, it uses http://www.domain.com/SiteName/assets/cache/ But it should use http://www.domain.com/assets/cache/ Does anyone know how I can change this? Thank you!
[eluser]GeXus[/eluser]
Ok, What I've done is add a $config['cache_url'] and gave it the proper value without the SiteName Then in the library I've changed this line: $this->cache_uri = $this->base_uri.$this->cache_dir; to $this->cache_uri = $this->base_uri.$this->cache_url; This did the trick... Not sure if it's the best solution though.. but it works |
Welcome Guest, Not a member yet? Register Sign In |