overriding src files
Permalink
Hi,
I'm up to the following challenge. I want to make some changes to the /src/session/Srorage/SessionFactory.php. I Have placed a copy of this file in my application/SessionFactory.php. How can i let concrete know that he needs to use this file instead of the original file.
Thanks in advance!
Regards, Raymond
I'm up to the following challenge. I want to make some changes to the /src/session/Srorage/SessionFactory.php. I Have placed a copy of this file in my application/SessionFactory.php. How can i let concrete know that he needs to use this file instead of the original file.
Thanks in advance!
Regards, Raymond
Jordi, thank you for your response. If i understand the documentation correct it isn't possible to override the files in the concrete/src folder.
Regards, Raymond
Regards, Raymond
Hi Jordi,
Just Got it. i had to start with creating a custom ServiceProvider for Session and go on from there.
Thanks you for your help.
Regards, Raymong
Just Got it. i had to start with creating a custom ServiceProvider for Session and go on from there.
Thanks you for your help.
Regards, Raymong
http://documentation.concrete5.org/tutorials/override-almost-any-co...
According to that page, "any files can be overridden in concrete5 simply by providing a file at a specific path. Pretty much the only exclusion to what can be overridden by path is the contents of concrete/src/"
Hope this helps,
Jordi