![]() |
I downloaded CI 4.4.8
Extract the .zip file I went up to my domain meu.meusite.com.br (hostinger) I configured my root directory to: meu.meusite.com.br/public I configured App.php: public string $baseURL = 'https://meu.meusite.com.br/public/ (with and without slash) I downloaded adminlte and within public I created the dist and plugins folders (adminlte) Inside the VIEWS folder I created the admin folder and placed the dashboard.php file and I created the templates folder (inside the VIEWS folder) with the following files: _footer.php, _header.php, _sidebar.php and admin_template.php. When I type https://meu.meusite.com.br/ in the browser, the controller shows the VIEW but the ADMINLTE files that are in subfolders within /PUBLIC are not found. href="https://meu.meusite.com.br/public/dist/css/adminlte.min.css" clicking on this link gives the error :Can't find a route for 'get: public/admin'. What should I do? In the browser console F12 presents some errors (8 errors): The resource “https://meu.meusite.com.br/public/dist/css/adminlte.min.css” was blocked due to the MIME type (“text /html”) does not match (X-Content-Type-Options: nosniff). |
Messages In This Thread |
Can't get rid of routing to "public" - by Tbronson - 03-15-2023, 10:12 AM
RE: Can't get rid of routing to "public" - by kenjis - 03-15-2023, 09:48 PM
RE: Can't get rid of routing to "public" - by dgvirtual - 05-11-2023, 02:24 PM
RE: Can't get rid of routing to "public" - by JanFromHamburg - 05-24-2023, 07:02 AM
RE: Can't get rid of routing to "public" - by InsiteFX - 05-25-2023, 11:21 PM
RE: Can't get rid of routing to "public" - by RRIOS - 08-10-2024, 01:49 PM
RE: Can't get rid of routing to "public" - by ozornick - 08-10-2024, 09:49 PM
RE: Can't get rid of routing to "public" - by RRIOS - 08-11-2024, 07:39 AM
RE: Can't get rid of routing to "public" - by kenjis - 08-11-2024, 04:48 PM
RE: Can't get rid of routing to "public" - by RRIOS - 08-11-2024, 05:34 PM
|