-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #1076 #1081
Fixed issue #1076 #1081
Conversation
So...? The issue has already been closed... This should be approved... |
There's a conflict between your version and the one in EllisLab's repository. You'll have to sync any changes from it first. |
What about now? |
Yes, it can be merged now. |
Because CodeIgniter/system/core/Router.php - line: 510
|
|
Routing is set in index.php, line 99-105. The routing array is passed to If you want to reproduce it, check issue #1076 and you'll see the problem... |
OK, so I set |
But that's only if you enable query strings... If you don't enable them, then you'll face the problem. You set $routing['directory'] in the index.php file, then /system/core/CodeIgniter.php line 177 passes the array to _set_overrides, which does Then it goes to |
... and it's exactly |
So...? I'm Spanish and my English is not that good.. so I'd appreciate if you can clarify what do you try to tell me... |
I'm trying to tell you that What |
OK. But if |
If you've set |
Yes it does, in Router line 272, 278, 287.... That's the problem that I specified in bug #1076... |
Now we're just repeating the same thing over and over again here. |
Agree with narf. @marcosgdf i think issue #1076 could be resolved by some mod_rewrite / htaccess tweak rather than routes, since subdomain however, was considered as different domain and ideally should be treated as two different application which shared Codeigniter system. But despite i encourage the way someone maintain their application across different domain like that, you could still use your own approach on issue #1076, with some rewrite rule like :
This way, some request to |
That's a posibility, but I'm not creating any feature, I mean, I'm just fixing CodeIgniter's implementation of that feature, which doesn't work well. |
Fixed issue #1076