Hi there,
Up until now I had one module in my application, called admin, which had three nested modules: scripts, users and config.
Because those three were nested inside admin module I called them using route (and my CUrlManager configuration): app_name/admin/scripts.html, app_name/admin/users.html and app_name/admin/config.html. And main module was accessible via simple app_name/admin.html.
Today I decided to drop nesting modules idea and moved those three to the same level (main application’s modules level) as admin one.
I thought, this will be an easy job, changing just a piece of code and some application configuration entry but failed on some (strange?) thing.
Even though all (four now) modules are in the same level (not nested) and directory (protected/modules) only the first (old) one admin is accessible via:
http://localhost/app_name/admin.html
If I try to access any other:
http://localhost/app_name/scripts.html
http://localhost/app_name/users.html
http://localhost/app_name/config.html
I get the same error, saying "Undefined index: config" (or users or scripts).
What am I doing wrong?
This got to be something simple and obvious, but I got stuck and even getting through documentation gave me nothing.
Regars,
Trejder