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

fix get controller and action for homepage #10

Merged
merged 1 commit into from
Jul 18, 2022
Merged

fix get controller and action for homepage #10

merged 1 commit into from
Jul 18, 2022

Conversation

tanhongit
Copy link
Owner

No description provided.

else $controller = 'home';
if (isset($_GET['action'])) $action = $_GET['action'];
else $action = 'index';
if (isset($_GET['controller']) && '' != $_GET['controller']) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix conditions for get controller and actions

@tanhongit tanhongit merged commit 71fb3fe into master Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant