# |
Sep 22nd 2016, 16:56 |
Martin` |
remove the code is the best way to fix it :) |
# |
Sep 22nd 2016, 16:55 |
Martin` |
with the code removed it just does an redirect :) |
# |
Sep 22nd 2016, 16:54 |
Martin` |
this removed code makes use of controller->redirect() return in an exception when it is an ajax request |
# |
Sep 22nd 2016, 16:53 |
renan |
I know it sounds weird, but it happens |
# |
Sep 22nd 2016, 16:52 |
renan |
The problem may be that people relies on broken stuff |
# |
Sep 22nd 2016, 16:51 |
Martin` |
it is broken for almost a year. it requires a function that is going removed in future release :) |
# |
Sep 22nd 2016, 16:51 |
Martin` |
P |
# |
Sep 22nd 2016, 16:49 |
renan |
Remove all the codez |
# |
Sep 22nd 2016, 16:49 |
renan |
Easy fix is easy |
# |
Sep 22nd 2016, 16:49 |
renan |
https://github.com/cakephp/cakephp/pull/9505 |
# |
Sep 22nd 2016, 16:49 |
renan |
Are you blieb? |
# |
Sep 22nd 2016, 16:49 |
Martin` |
if you don't like it, remove it |
# |
Sep 22nd 2016, 16:48 |
Martin` |
renan: created a pull request to remove the code that breaks my app :) |
# |
Sep 22nd 2016, 16:03 |
renan |
@ceeram Does **that** qualifies as speaking dutch? :) |
# |
Sep 22nd 2016, 15:54 |
Martin` |
pff |
# |
Sep 22nd 2016, 15:54 |
Martin` |
marlinc: doe eens niet ddossen via irc |
# |
Sep 22nd 2016, 15:44 |
Martin` |
ddos via irc hm? :P |
# |
Sep 22nd 2016, 15:44 |
Martin` |
ceeram: geef marlinc eens een mep ivm flood? :P |
# |
Sep 22nd 2016, 15:23 |
ceeram |
lol, @renan speaking dutch, you forced to do so in the new company? |
# |
Sep 22nd 2016, 14:16 |
Martin` |
redirect is dan geen redirect meer zo te merken |
# |
Sep 22nd 2016, 14:15 |
Martin` |
nee |
# |
Sep 22nd 2016, 14:14 |
renan |
Heb je .json in the url? |
# |
Sep 22nd 2016, 14:11 |
Martin` |
Gebeurt alleen als ik een ajax login doe op mobiel |
# |
Sep 22nd 2016, 14:11 |
Martin` |
$routes->connect('/', ['controller' => 'Dashboard', 'action' => 'index']); |
# |
Sep 22nd 2016, 14:10 |
renan |
No routing defined for `/` ? |
# |
Sep 22nd 2016, 14:01 |
Martin` |
volgens mij gaat er iets fout :P |
# |
Sep 22nd 2016, 14:01 |
Martin` |
Error: Create the class Controller below in file: src/Controller/Controller.php |
# |
Sep 22nd 2016, 11:54 |
ceeram |
ah |
# |
Sep 22nd 2016, 11:40 |
Martin` |
had het ook wel zelf kunnen kijken, maar als het met die mobiledetect class kan waarom niet :) |
# |
Sep 22nd 2016, 11:40 |
Martin` |
de Uwsupermarkt app zet daar uwsupermarkt bij :) |
# |
Sep 22nd 2016, 11:39 |
Martin` |
ceeram: hij kijkt naar useragent |
# |
Sep 22nd 2016, 11:10 |
ceeram |
waar haalt MobileDetect die waarde vandaan dan? |
# |
Sep 22nd 2016, 11:10 |
ceeram |
wanneer is match(â??Uwsupermarktâ??) true dan? |
# |
Sep 22nd 2016, 11:09 |
ceeram |
wut? |
# |
Sep 22nd 2016, 10:02 |
Martin` |
return $detector->match('Uwsupermarkt'); wel, perfect :P |
# |
Sep 22nd 2016, 09:52 |
Martin` |
he jammer dit werkt niet :P |
# |
Sep 22nd 2016, 09:52 |
Martin` |
}); |
# |
Sep 22nd 2016, 09:52 |
Martin` |
return $detector->is('Uwsupermarkt'); |
# |
Sep 22nd 2016, 09:52 |
Martin` |
$detector = new \Detection\MobileDetect(); |
# |
Sep 22nd 2016, 09:52 |
Martin` |
Request::addDetector('app', function ($request) { |
# |
Sep 22nd 2016, 08:26 |
Martin` |
vraag me af hoe andere frameworks met multiple databases omgaan :) |