mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-06-30 23:05:29 +00:00
Turn on optimization. Fix miss image.
This commit is contained in:
parent
db11dee78a
commit
d628dcd74d
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
tmp/auto_merge_css_js/*/*
|
||||
tmp/extrapacker_admin/*/*
|
@ -6,8 +6,8 @@ RewriteEngine on
|
||||
RewriteBase /
|
||||
|
||||
# Auto redirect to https.
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
#RewriteCond %{HTTPS} off
|
||||
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
|
||||
RewriteCond $1 !^(index\.php|script/merge\.php|script/*.|robots\.txt|favicon\.ico|sitemap\.xml|i/.*|tmp/.*|upl/.*|lib/ckeditor4/.*|cgi-bin/*.|wiki/*.|en/wiki/*.|google53bafd5cff611af3\.html|script/plugins/*.|awstats/*.|blackout/*.|sandbox/*.)
|
||||
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
|
||||
|
@ -60,9 +60,9 @@
|
||||
|
||||
$g_config['extrapacker'] = array();
|
||||
$g_config['extrapacker']['dir'] = 'auto_merge_css_js';
|
||||
$g_config['extrapacker']['packHtml'] = false;
|
||||
$g_config['extrapacker']['packHtml'] = true;
|
||||
$g_config['extrapacker']['packCss'] = true;
|
||||
$g_config['extrapacker']['packJs'] = false;
|
||||
$g_config['extrapacker']['packJs'] = true;
|
||||
$g_config['extrapacker']['arrExeptions_js'] = array();
|
||||
$g_config['extrapacker']['arrExeptionsNotAdd_js'] = array();
|
||||
$g_config['extrapacker']['arrExeptions_css'] = array();
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
tmp/saved/.gitignore
vendored
3
tmp/saved/.gitignore
vendored
@ -3,4 +3,5 @@
|
||||
*.svg
|
||||
**/*.png
|
||||
**/*.xml
|
||||
**/*.svg
|
||||
**/*.svg
|
||||
!XX/XXXXX.png
|
BIN
tmp/saved/XX/XXXXX.png
Normal file
BIN
tmp/saved/XX/XXXXX.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 B |
Loading…
x
Reference in New Issue
Block a user