booyah
unread,Sep 15, 2009, 3:25:31 AM9/15/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Web Optimizer
I am using Web Optimizer for a web app that has different instances
across multiple servers (ie. development, staging, production). In
some cases, the document root is different from one server to the
next.
So that I can have one config.webo.php that will work for any document
root, I have updated some of the $compress_options:
## Path info. Cache directory for JS files
$compress_options['javascript_cachedir'] = dirname(__FILE__)."/
cache/";
## Cache directory for CSS files
$compress_options['css_cachedir'] = dirname(__FILE__)."/cache/";
## Cache directory for HTML files
$compress_options['html_cachedir'] = dirname(__FILE__)."/cache/";
## Web Optimizer installation directory
$compress_options['webo_cachedir'] = dirname(__FILE__)."/";
## Root directory of the website
$compress_options['document_root'] = dirname(__FILE__)."/../";
Can you foresee any problems with this? It is working ok as far as I
can tell...