equal
deleted
inserted
replaced
12 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
12 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
13 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
13 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
14 */ |
14 */ |
15 |
15 |
16 // Disable for IE, it causes problems. |
16 // Disable for IE, it causes problems. |
17 if ( strstr(@$_SERVER['HTTP_USER_AGENT'], 'MSIE') ) |
17 if ( ( strstr(@$_SERVER['HTTP_USER_AGENT'], 'MSIE') /*|| true*/ ) && !isset($_GET['early']) ) |
18 { |
18 { |
19 header('HTTP/1.1 302 Redirect'); |
19 header('HTTP/1.1 302 Redirect'); |
20 header('Location: static/enano-lib-basic.js'); |
20 header('Location: static/enano-lib-basic.js'); |
21 exit(); |
21 exit(); |
22 } |
22 } |
52 // CONFIG |
52 // CONFIG |
53 |
53 |
54 // Files safe to run full (aggressive) compression on |
54 // Files safe to run full (aggressive) compression on |
55 $full_compress_safe = array( |
55 $full_compress_safe = array( |
56 // Sorted by file size, descending (du -b *.js | sort -n) |
56 // Sorted by file size, descending (du -b *.js | sort -n) |
57 // 'SpryData.js', |
|
58 // 'SpryEffects.js', |
|
59 'ajax.js', |
57 'ajax.js', |
60 'libbigint.js', |
58 'libbigint.js', |
61 'editor.js', |
59 'editor.js', |
62 // 'SpryAutoSuggest.js', |
60 'functions.js', |
63 'login.js', |
61 'login.js', |
64 'acl.js', |
62 'acl.js', |
65 'misc.js', |
63 'misc.js', |
66 'comments.js', |
64 'comments.js', |
67 'rijndael.js', |
65 'rijndael.js', |