# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
any one knw how i fixed |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
? |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
i m facing error in connecting sugar crm with cakephp |
# |
Jul 13th 2018, 13:59 |
dereuromark |
i was mentioning the default case. as outlined in the ticket |
# |
Jul 13th 2018, 13:59 |
ricksaccous |
oh wow |
# |
Jul 13th 2018, 13:59 |
dereuromark |
it already exists since 3.0 |
# |
Jul 13th 2018, 13:59 |
ricksaccous |
or are you just showing me the progress of the RFC enhancement lol |
# |
Jul 13th 2018, 13:58 |
ricksaccous |
or some configShallow method |
# |
Jul 13th 2018, 13:58 |
ricksaccous |
@dereuromark thanks I suppose in 3.6 there is some shallowMerge method I could use or something? |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
thankyou |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
? |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
tias() like this |
# |
Jul 13th 2018, 13:57 |
dereuromark |
Mr Bot 4 knows: dd() and debug() are also known in cake |
# |
Jul 13th 2018, 13:56 |
slackebot |
!tias |
# |
Jul 13th 2018, 13:56 |
slackebot |
Command sent from Slack by dereuromark: |
# |
Jul 13th 2018, 13:56 |
dereuromark |
tias |
# |
Jul 13th 2018, 13:56 |
sheraliqureshi.mhtech |
we use echo in php and dd in laravel what we use in cake php |
# |
Jul 13th 2018, 13:56 |
sheraliqureshi.mhtech |
@lorenzo we use echo in php and dd in laravel what we use in cake php |
# |
Jul 13th 2018, 13:43 |
dereuromark |
Modicrumb: see the open ticket for shallowMerge() as default :slightly_smiling_face: |
# |
Jul 13th 2018, 13:43 |
josbeir |
public function setConfig($key, $value = null, $merge = true) |
# |
Jul 13th 2018, 13:42 |
josbeir |
try to pass that as false |
# |
Jul 13th 2018, 13:42 |
josbeir |
'merge' |
# |
Jul 13th 2018, 13:42 |
josbeir |
setConfig has a second argument i think |
# |
Jul 13th 2018, 13:24 |
ricksaccous |
(I'm trying to use mine instead of FormAuthenticate) |
# |
Jul 13th 2018, 13:23 |
ricksaccous |
how do i remove Authenticators I am not intersted in using? |
# |
Jul 13th 2018, 13:23 |
ricksaccous |
this is problematic for me |
# |
Jul 13th 2018, 13:23 |
ricksaccous |
when I do $this->Auth->setConfig('authenticate', [whatever]) it never removes, only appends |
# |
Jul 13th 2018, 12:46 |
josbeir |
but there are probably use cases :slightly_smiling_face: |
# |
Jul 13th 2018, 12:46 |
josbeir |
i would do a route class or smthing and pull that info from the db on request |
# |
Jul 13th 2018, 12:45 |
josbeir |
and damn, i could't imagine 5000 actual existing routes |
# |
Jul 13th 2018, 12:45 |
admad |
Then IMO this is an optimization that shouldn't be enabled by default |
# |
Jul 13th 2018, 12:45 |
josbeir |
indeed |
# |
Jul 13th 2018, 12:44 |
admad |
Practically no benefit for 50 routes. |
# |
Jul 13th 2018, 12:36 |
josbeir |
still, thousand connected rotues.. damn |
# |
Jul 13th 2018, 12:35 |
josbeir |
oh, thats relevant enough :slightly_smiling_face: |
# |
Jul 13th 2018, 12:33 |
steinkel |
benchmarks here > https://github.com/cakephp/cakephp/pull/11765#issuecomment-371139620 |
# |
Jul 13th 2018, 12:30 |
josbeir |
i'll give that a go, tnx |
# |
Jul 13th 2018, 12:29 |
steinkel |
yep |
# |
Jul 13th 2018, 12:29 |
josbeir |
:heavy_check_mark: |
# |
Jul 13th 2018, 12:29 |
josbeir |
ok, so extend the aws class and implement sleep |
# |
Jul 13th 2018, 12:29 |
steinkel |
it's just a way to bypass the exception |