Skip to content

Commit b144ef7

Browse files
committed
Init
0 parents  commit b144ef7

File tree

395 files changed

+44859
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

395 files changed

+44859
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
notes.txt
2+
demo.php
3+
/junk
4+
/ssl
5+
/queue_workers/demo.php

.htaccess

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Options -Indexes
2+
RewriteEngine On
3+
4+
# Block direct views
5+
RewriteRule ^lib/(.*) / [R=301,L]
6+
RewriteRule ^views/(.*) / [R=301,L]
7+
RewriteRule ^rb/(.*) / [R=301,L]
8+
RewriteRule ^crons/(.*) / [R=301,L]
9+
RewriteRule ^queue_workers/(.*) / [R=301,L]
10+
11+
# Default handler
12+
RewriteCond %{SCRIPT_FILENAME} !-f
13+
RewriteCond %{SCRIPT_FILENAME} !-d
14+
RewriteRule ^(.*)$ index.php/$1
15+
16+
<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
17+
<IfModule mod_headers.c>
18+
Header set Access-Control-Allow-Origin "*"
19+
</IfModule>
20+
</FilesMatch>
21+
22+
#php_flag display_startup_errors on
23+
#php_flag display_errors on
24+
#php_flag html_errors on
25+
26+
# -----------------------------------------------------------------------
27+
# Defining MIME types to ensure the web server actually knows about them.
28+
# -----------------------------------------------------------------------
29+
<IfModule mod_mime.c>
30+
AddType application/javascript js
31+
AddType application/vnd.ms-fontobject eot
32+
AddType application/x-font-ttf ttf ttc
33+
AddType font/opentype otf
34+
AddType application/x-font-woff woff
35+
AddType image/svg+xml svg svgz
36+
AddEncoding gzip svgz
37+
</Ifmodule>
38+
39+
# -----------------------------------------------------------------------
40+
# Compressing output.
41+
# -----------------------------------------------------------------------
42+
<IfModule mod_deflate.c>
43+
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
44+
AddOutputFilterByType DEFLATE application/javascript
45+
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
46+
AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
47+
AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
48+
</Ifmodule>

0 commit comments

Comments
 (0)