evoxwht 2 лет назад
Родитель
Сommit
cbdfcaea82
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      crmeb/route/route.php

+ 1 - 1
crmeb/route/route.php

@@ -25,7 +25,7 @@ Route::miss(function () {
             return view(app()->getRootPath() . 'public' . DS . 'index.html');
         default:
             if (!request()->isMobile()) {
-                if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('type')) {
+                if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('mdType')) {
                     return view(app()->getRootPath() . 'public' . DS . 'home' . DS . 'index.html');
                 } else {
                     if (request()->get('type')) {