2008-08-29 22:56:34 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Configuration for default Minify implementation
|
|
|
|
* @package Minify
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* For best performance, specify your temp directory here.
|
|
|
|
* Otherwise Minify will have to load extra code to guess.
|
|
|
|
*/
|
|
|
|
//$min_cachePath = 'c:\\WINDOWS\Temp';
|
|
|
|
//$min_cachePath = '/tmp';
|
2008-08-24 00:30:30 +00:00
|
|
|
|
|
|
|
|
2008-09-05 04:22:57 +00:00
|
|
|
/**
|
|
|
|
* Allow use of the Minify URI Builder app. If you no longer need
|
|
|
|
* this, set to false.
|
|
|
|
**/
|
|
|
|
$min_enableBuilder = true;
|
|
|
|
|
|
|
|
|
2008-08-24 00:30:30 +00:00
|
|
|
/**
|
|
|
|
* Maximum age of browser cache in seconds. After this period,
|
|
|
|
* the browser will send another conditional GET. You might
|
|
|
|
* want to shorten this before making changes if it's crucial
|
|
|
|
* those changes are seen immediately.
|
|
|
|
*/
|
|
|
|
$min_serveOptions['maxAge'] = 1800;
|
2008-08-29 22:56:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* If you'd like to restrict the "f" option to files within/below
|
|
|
|
* particular directories below DOCUMENT_ROOT, set this here.
|
|
|
|
* You will still need to include the directory in the
|
|
|
|
* f or b GET parameters.
|
|
|
|
*
|
|
|
|
* // = DOCUMENT_ROOT
|
|
|
|
*/
|
|
|
|
//$min_allowDirs = array('//js', '//css');
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2008-08-30 05:40:10 +00:00
|
|
|
* If you move Minify's lib folder, give the path to it here.
|
2008-08-29 22:56:34 +00:00
|
|
|
*/
|
2008-09-05 04:22:57 +00:00
|
|
|
//$min_libPath = dirname(__FILE__) . '/lib';
|
2008-08-29 22:56:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set to true to disable the "f" GET parameter for specifying files.
|
|
|
|
* Only the "g" parameter will be considered.
|
|
|
|
*/
|
2008-08-24 00:30:30 +00:00
|
|
|
$min_groupsOnly = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2008-09-05 04:22:57 +00:00
|
|
|
* In 'debug' mode, Minify can combine files with no minification and
|
|
|
|
* add comments to indicate line #s of the original files.
|
|
|
|
*
|
|
|
|
* To allow debugging, set this option to true and add "&debug=1" to
|
|
|
|
* a URI. E.g. /min/?f=script1.js,script2.js&debug=1
|
2008-08-29 22:56:34 +00:00
|
|
|
*/
|
2008-09-05 04:22:57 +00:00
|
|
|
$min_allowDebugFlag = false;
|
2008-08-24 00:30:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* If you upload files from Windows to a non-Windows server, Windows may report
|
2008-09-05 04:22:57 +00:00
|
|
|
* incorrect mtimes for the files. This may cause Minify to keep serving stale
|
|
|
|
* cache files when source file changes are made too frequently (e.g. more than
|
|
|
|
* once an hour).
|
|
|
|
*
|
|
|
|
* Immediately after modifying and uploading a file, use the touch command to
|
|
|
|
* update the mtime on the server. If the mtime jumps ahead by a number of hours,
|
|
|
|
* set this variable to that number. If the mtime moves back, this should not be needed.
|
2008-08-24 00:30:30 +00:00
|
|
|
*/
|
|
|
|
$min_uploaderHoursBehind = 0;
|
|
|
|
|