Merge branch 'F2F_LTS' of https://gitlab1.akson.si/mayd/2ka into F2F_LTS

This commit is contained in:
May Doušak 2022-11-16 13:41:00 +01:00
commit c500e00d28
2 changed files with 20 additions and 1 deletions

2
.gitignore vendored
View File

@ -42,7 +42,7 @@ docker
# Settings, htaccess...
/settings.php
#/settings.php
/settings_optional.php
#/.htaccess
/composer.bat

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]