Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Tutoriels CodeIgniter 4 en français
Post: RE: Tutoriels CodeIgniter 4 en français

Bonjour, Ils sont sympas ces tutos :)
2,879 Views
6 Replies
12-16-2020, 02:46 AM
jean5769
    Thread: Create CI4 project in sub folder
Post: RE: Create CI4 project in sub folder

meta Wrote: (06-04-2020, 03:56 PM) -- I'm not sure if this is something you can 'fix' with htaccess. Well, sure there will be any workaround about this topic but I'm not sure if that's a good practic...
6,287 Views
7 Replies
06-04-2020, 10:23 PM
jean5769
    Thread: CI4 Filter before method throw for page unauthorized
Post: RE: CI4 Filter before method throw for page unauth...

And what about this code ? $response = \Config\Services::response(); $response->setStatusCode(401); $response->send(); die(); You send the response and you kill your script, so there is no bo...
6,019 Views
6 Replies
04-10-2020, 05:23 AM
jean5769
    Thread: Create CI4 project in sub folder
Post: RE: Create CI4 project in sub folder

jreklund Wrote: (04-09-2020, 11:01 AM) -- You will need to place the contents of the public folder inside codeigniter_project, and move the application elsewhere. https://codeigniter.com/user_guide/...
6,287 Views
7 Replies
04-09-2020, 11:32 PM
jean5769
    Thread: CI4 Filter before method throw for page unauthorized
Post: RE: CI4 Filter before method throw for page unauth...

Hello, I use HTTP Responses to manage my response. For example, if my website has a maintenance mode activated, I will send this : $this->response->setStatusCode(503); $this->response->setHeader('Re...
6,019 Views
6 Replies
04-09-2020, 11:05 PM
jean5769
    Thread: Create CI4 project in sub folder
Post: Create CI4 project in sub folder

Hi !  :) I did several research about this subject, but I didn't find a solution. I have a a domain who contains several projects. For example, I have something like this : https://example.com/p...
6,287 Views
7 Replies
04-09-2020, 09:38 AM
jean5769
    Thread: CodeIgniter 4.0.0-rc.4
Post: RE: CodeIgniter 4.0.0-rc.4

Thank you! :)
28,977 Views
28 Replies
02-08-2020, 04:14 AM
jean5769
    Thread: Create /public folder in a theme
Post: RE: Create /public folder in a theme

Hello, thank you for your answer. I don't know yet if this solution will suit me, but I will make some tests and see what that gives. I think that is a good solution for js and css files, but not for ...
2,973 Views
5 Replies
12-24-2019, 01:27 AM
jean5769
    Thread: Create /public folder in a theme
Post: RE: Create /public folder in a theme

I don't know if it is a good solition, but maybe I can create a controller who will load the css, js and img files? In the Routes file, I redirect all the files beginig by /themes/ to the controlle...
2,973 Views
5 Replies
12-21-2019, 02:55 AM
jean5769
    Thread: Create /public folder in a theme
Post: RE: Create /public folder in a theme

Thank you for your answer. Yes, public/ is my serve root. I already looked this project. Maybe I didn't understand how it works, but the complete theme folder is inside the public folder, so all...
2,973 Views
5 Replies
12-20-2019, 08:07 AM
jean5769
    Thread: Create /public folder in a theme
Post: Create /public folder in a theme

Hello ! I use CodeIgniter 4 and I want to create 2 themes (front & back) who will be located to the root folder. Each theme will have his JavaScript and CSS files. So I don't want to put this fi...
2,973 Views
5 Replies
12-20-2019, 03:31 AM
jean5769

Theme © iAndrew 2016 - Forum software by © MyBB