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

Set initial page out of root #8

Open
ntnetx opened this issue Apr 24, 2019 · 0 comments
Open

Set initial page out of root #8

ntnetx opened this issue Apr 24, 2019 · 0 comments

Comments

@ntnetx
Copy link

ntnetx commented Apr 24, 2019

I would like to know how do I work the correct way I'm using mvc it's only working if it's in the example root folder

http://localhost/homologacao/

The structure will be like this

http://localhost/homologacao/services
http://localhost/homologacao/contato

Model: homologacao
Controller: homologacao
Action: action_index

Fatal error: Uncaught Error: Class 'homologacao' not found in /home/web/Downloads/web/homologacao/App/core/route.php:82 Stack trace: #0 /home/web/Downloads/web/homologacao/index.php(13): Route::start() #1 {main} thrown in /home/web/Downloads/web/homologacao/App/core/route.php on line 82

OBS : The way it would be would be simple if the folder is homologation it le this initial if it is another folder sample test would look like this

http://localhost/teste/services
http://localhost/teste/contato

Would you help me?

Thank you

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

No branches or pull requests

1 participant