# |
Mar 8th 2018, 03:44 |
savant |
*3.3 |
# |
Mar 8th 2018, 03:44 |
savant |
does 3.x support middleware? |
# |
Mar 8th 2018, 03:43 |
meder |
i guess 2, 1 is a test |
# |
Mar 8th 2018, 03:43 |
meder |
it's 3 files changed? could i just override those at the app level? |
# |
Mar 8th 2018, 03:41 |
meder |
right |
# |
Mar 8th 2018, 03:41 |
meder |
3.3.16 |
# |
Mar 8th 2018, 03:41 |
savant |
that pull request is not released yet :slightly_smiling_face: |
# |
Mar 8th 2018, 03:40 |
meder |
might have to patch it by overriding the file |
# |
Mar 8th 2018, 03:40 |
savant |
search for a VERSION.txt file |
# |
Mar 8th 2018, 03:40 |
meder |
now it's time to figure out what version of cake this monolithic site is on... |
# |
Mar 8th 2018, 03:40 |
meder |
sweet |
# |
Mar 8th 2018, 03:38 |
admad |
meder: https://github.com/cakephp/cakephp/pull/11765 |
# |
Mar 8th 2018, 03:37 |
meder |
sec |
# |
Mar 8th 2018, 03:37 |
meder |
yeah.. let me find it first |
# |
Mar 8th 2018, 03:37 |
savant |
if you gist those, I can help you better. |
# |
Mar 8th 2018, 03:36 |
savant |
and you havent gisted any of your routes.php files |
# |
Mar 8th 2018, 03:36 |
savant |
I dont know what you’re looking at specifically |
# |
Mar 8th 2018, 03:36 |
meder |
something else is doing that? |
# |
Mar 8th 2018, 03:36 |
meder |
it wouldn't populate the routeTable i'm talking about, right? |
# |
Mar 8th 2018, 03:36 |
meder |
savant: if you do $routes->connect('/articles/:id', []) that just registers the route - it binds it the controller etc |
# |
Mar 8th 2018, 03:34 |
meder |
Cake\Routing\RouteCollection -> _routeTable specifically |
# |
Mar 8th 2018, 03:34 |
savant |
ah ok |
# |
Mar 8th 2018, 03:33 |
meder |
because i dumped it and there are thousands of them in routecollection? |
# |
Mar 8th 2018, 03:33 |
savant |
Why do you think there are that many routes bound? |
# |
Mar 8th 2018, 03:33 |
meder |
ok |
# |
Mar 8th 2018, 03:33 |
meder |
or is that just a binding |
# |
Mar 8th 2018, 03:33 |
savant |
->connect( |
# |
Mar 8th 2018, 03:32 |
meder |
would that be a ->connect call? |
# |
Mar 8th 2018, 03:32 |
meder |
savant: what call should i look for where it would register a thousand+ etc routes? |
# |
Mar 8th 2018, 03:30 |
savant |
connects the default routes |
# |
Mar 8th 2018, 03:30 |
savant |
https://book.cakephp.org/3.0/en/development/routing.html#fallbacks-method |
# |
Mar 8th 2018, 03:29 |
meder |
savant: what does ->fallbacks do again? |
# |
Mar 8th 2018, 03:25 |
savant |
But ok :slightly_smiling_face: |
# |
Mar 8th 2018, 03:25 |
savant |
I cant really prescribe anything without seeing what you’re working with. |
# |
Mar 8th 2018, 03:25 |
meder |
let me try to study them a little more though, sec |
# |
Mar 8th 2018, 03:25 |
meder |
heh |
# |
Mar 8th 2018, 03:25 |
meder |
that each have their own route file |
# |
Mar 8th 2018, 03:25 |
meder |
there are 20-25 plugins |
# |
Mar 8th 2018, 03:24 |
savant |
And how you link to things? |
# |
Mar 8th 2018, 03:24 |
savant |
Can you gist your routes.php file? |
# |
Mar 8th 2018, 03:24 |
meder |
i suppose it is, in order to validate a real route |