Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stavarengo committed Feb 3, 2017
0 parents commit e857b1c
Show file tree
Hide file tree
Showing 113 changed files with 46,819 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vendor/
composer.phar
/.idea/
23 changes: 23 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "stavarengo/language-detection-service",
"description": "aaaaaaa",
"minimum-stability": "dev",
"prefer-stable": true,
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Stavarengo",
"email": "[email protected]"
}
],
"require": {
"stavarengo/cld2-php-language-detection-library": "dev-master",
"theiconic/php-ga-measurement-protocol": "^2.4"
},
"autoload": {
"psr-4": {
"Sta\\LanguageDetectionService\\": "src/LanguageDetectionService/"
}
}
}
315 changes: 315 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'analytics-id' => 'UA-12926898-16',
];
19 changes: 19 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
RewriteEngine on

# The following rule tells Apache that if the requested filename
# exists, simply serve it.
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

# The following rewrites all other queries to index.php. The
# condition ensures that if you are using Apache aliases to do
# mass virtual hosting, the base path will be prepended to
# allow proper resolution of the index.php file; it will work
# in non-aliased environments as well, providing a safe, one-size
# fits all solution.
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]

Loading

0 comments on commit e857b1c

Please sign in to comment.