根据http://code.google.com/p/minify/wiki/UriRewriting上的文档
$min_serveOptions['rewriteCssUris'] = false;
我应该能够将以上内容添加到我的配置文件中,它将禁用 uri 重写。我想禁用它的原因是因为我不需要它。我所有的 css/js 文件都在一个文件夹中,根本没有嵌套。它正在重写网址。例如
例子:
min_extras/cli/minify.php -o ../../css/all.css ../../css/phppos.css ../../css/menubar.css ../../css/general.css ../../css/popupbox.css ../../css/register.css ../../css/receipt.css ../../css/reports.css ../../css/tables.css ../../css/thickbox.css ../../css/datepicker.css ../../css/editsale.css ../../css/footer.css ../../css/css3.css ../../css/jquery-ui-1.8.14.custom.css ../../css/jquery.loadmask.css ../../css/jquery.ui.all.css ../../css/paginate.css
前:
background-image: url("../images/header/header_empty.png");
后:
background-image:url("s/header/header_empty.png");