Skip to content
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

Proper routing implementation #4

Open
aleksanderakero opened this issue Mar 26, 2016 · 1 comment
Open

Proper routing implementation #4

aleksanderakero opened this issue Mar 26, 2016 · 1 comment
Assignees

Comments

@aleksanderakero
Copy link
Collaborator

Need to be able to route url's to specific controllers and actions.

@aleksanderakero
Copy link
Collaborator Author

Added a new branch for this now. This should have working router functionality. Though we should might consider doing other refactoring work at the same time as this.

Also put a switch for this functionality in config. $conf['routing']['enabled'] = true/false. Triggers another processRequest function in index.php in site.

Sidenote: Seems a bit weird to be setting this in site. Maybe we should at the same time add a bootstrap file or something that does these kinds of things..? at least move it from site to core somewhere.

@aleksanderakero aleksanderakero removed this from the php-core-1.0.0 milestone Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant