diff --git a/public/.htaccess b/public/.htaccess index cbc7868..bb81406 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -4,5 +4,9 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT] + + RewriteCond %{HTTP_USER_AGENT} Mobile* [NC] + RewriteRule index.php mobile.php/$1 [QSA,PT,L] + diff --git a/public/mobile.php b/public/mobile.php new file mode 100644 index 0000000..43594b3 --- /dev/null +++ b/public/mobile.php @@ -0,0 +1,9 @@ +