Merge branch 'F2F_LTS' into 2KA_dev

privzeti htaccess in gitignore
This commit is contained in:
May Doušak 2022-11-16 13:42:55 +01:00
commit 4424f7f5ec

19
.htaccess Normal file
View File

@ -0,0 +1,19 @@
RewriteEngine on
RewriteRule ^index.php\b(.*) frontend/simple/index.php?%{QUERY_STRING}
## API
RewriteRule ^api/(.*)/survey/([0-9]+)$ admin/survey/api/api.php?action=$1&ank_id=$2 [QSA,NC,L]
RewriteRule ^api/(.*)$ admin/survey/api/api.php?action=$1 [QSA,NC,L]
## Rewriti za razne module, delovanje anket...
RewriteRule ^sa$ index_sa_anketa.php
RewriteRule ^koda/(.*) main/survey/sa_koda.php?%{QUERY_STRING}
RewriteRule ^a/(.*) main/survey/index.php?anketa=$1&%{QUERY_STRING}
RewriteRule ^podatki/(.*?[^/])/(.*[^/])? admin/survey/public.php?anketa=$1&urlhash=$2&%{QUERY_STRING}
RewriteRule ^admin/survey/minify/([a-z]=.*) admin/survey/minify/index.php?$1 [L,NE]